d5e90c9d17337f7e6777bb2b110c21e382aaa4e1
[openwrt/svn-archive/feeds.git] / xfce / libs / libxfce4util / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libxfce4util
11 PKG_VERSION:=4.6.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/
16 PKG_MD5SUM:=eac51d58179cbcadc3f802450a8ec9cd
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/nls.mk
23
24 define Package/libxfce4util
25 SECTION:=xorg-framework
26 CATEGORY:=Xorg
27 SUBMENU:=framework
28 TITLE:=libxfce4util
29 DEPENDS:=+glib2
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --with-broken-putenv=no \
35 )
36 endef
37
38 define Build/InstallDev
39 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4util}
40 $(INSTALL_DATA) \
41 $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4util/*.h \
42 $(1)/usr/include/xfce4/libxfce4util
43 $(CP) \
44 $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \
45 $(1)/usr/lib/
46 $(INSTALL_DATA) \
47 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
48 $(1)/usr/lib/pkgconfig/
49 endef
50
51 define Package/libxfce4util/install
52 $(INSTALL_DIR) $(1)/usr/lib/
53 $(CP) \
54 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
55 $(1)/usr/lib
56
57 $(INSTALL_DIR) $(1)/usr/sbin/
58 $(INSTALL_BIN) \
59 $(PKG_INSTALL_DIR)/usr/sbin/* \
60 $(1)/usr/sbin
61 endef
62
63 $(eval $(call BuildPackage,libxfce4util))