2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
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
21 include $(INCLUDE_DIR
)/package.mk
23 TARGET_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include/
26 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
28 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
30 define Package
/libxfconf
35 DEPENDS
:=+libxfce4util
+dbus
+libdbus-glib
+gtk2
+dbus-launch-x
46 define Build
/Configure
47 $(call Build
/Configure
/Default
, \
48 --libexecdir
=/usr
/lib
/xfconf \
52 define Build
/InstallDev
53 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include}
56 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{so
*,la
,a
} \
60 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
61 $(1)/usr
/lib
/pkgconfig
/
64 $(PKG_INSTALL_DIR
)/usr
/include/* \
68 define Package
/libxfconf
/install
69 $(INSTALL_DIR
) $(1)/usr
/lib
71 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
75 define Package
/xfconf
/install
76 $(INSTALL_DIR
) $(1)/usr
/bin
/
78 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
81 $(INSTALL_DIR
) $(1)/usr
/lib
/xfconf
/
83 $(PKG_INSTALL_DIR
)/usr
/lib
/xfconf
/xfconfd \
86 $(INSTALL_DIR
) $(1)/usr
/share
/dbus-1
/services
88 $(PKG_INSTALL_DIR
)/usr
/share
/dbus-1
/services
/* \
89 $(1)/usr
/share
/dbus-1
/services
/
91 $(eval
$(call BuildPackage
,libxfconf
))
92 $(eval
$(call BuildPackage
,xfconf
))