Update xfce packages to 4.6.1
[openwrt/svn-archive/feeds.git] / xfce / app / xfconf / 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:=xfconf
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:=d4d3018767ea9eb4b57cc57d4038023b
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
24
25 TARGET_LDFLAGS+= \
26 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
27 -Wl,-rpath=/usr/lib \
28 -L$(STAGING_DIR)/usr/lib/libintl/lib
29
30 define Package/libxfconf
31 SECTION:=xorg-app
32 CATEGORY:=Xorg
33 SUBMENU:=libraries
34 TITLE:=libxfconf
35 DEPENDS:=+libxfce4util +dbus +libdbus-glib +gtk2 +dbus-launch-x
36 endef
37
38 define Package/xfconf
39 SECTION:=xorg-app
40 CATEGORY:=Xorg
41 SUBMENU:=app
42 TITLE:=xfconf
43 DEPENDS:=+libxfconf
44 endef
45
46 define Build/Configure
47 $(call Build/Configure/Default, \
48 --libexecdir=/usr/lib/xfconf \
49 )
50 endef
51
52 define Build/InstallDev
53 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include}
54
55 $(CP) \
56 $(PKG_INSTALL_DIR)/usr/lib/*.{so*,la,a} \
57 $(1)/usr/lib/
58
59 $(INSTALL_DATA) \
60 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
61 $(1)/usr/lib/pkgconfig/
62
63 $(CP) \
64 $(PKG_INSTALL_DIR)/usr/include/* \
65 $(1)/usr/include/
66 endef
67
68 define Package/libxfconf/install
69 $(INSTALL_DIR) $(1)/usr/lib
70 $(CP) \
71 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
72 $(1)/usr/lib/
73 endef
74
75 define Package/xfconf/install
76 $(INSTALL_DIR) $(1)/usr/bin/
77 $(INSTALL_BIN) \
78 $(PKG_INSTALL_DIR)/usr/bin/* \
79 $(1)/usr/bin/
80
81 $(INSTALL_DIR) $(1)/usr/lib/xfconf/
82 $(INSTALL_BIN) \
83 $(PKG_INSTALL_DIR)/usr/lib/xfconf/xfconfd \
84 $(1)/usr/lib/xfconf/
85
86 $(INSTALL_DIR) $(1)/usr/share/dbus-1/services
87 $(INSTALL_DATA) \
88 $(PKG_INSTALL_DIR)/usr/share/dbus-1/services/* \
89 $(1)/usr/share/dbus-1/services/
90 endef
91 $(eval $(call BuildPackage,libxfconf))
92 $(eval $(call BuildPackage,xfconf))