Update xfce packages to 4.6.1
[openwrt/svn-archive/feeds.git] / xfce / app / xfce4-settings / 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:=xfce4-settings
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:=dc1c8704471c5b0104fa10c30eb60cb6
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/xfce4-settings
31 SECTION:=xorg-app
32 CATEGORY:=Xorg
33 SUBMENU:=app
34 TITLE:=xfce4-settings
35 DEPENDS:=+libxfce4util +libxfcegui4 +libexo +xfconf +libglade +libdbus-glib \
36 +libXi +libXrandr +xrdb
37 endef
38
39 define Package/xfce4-settings/install
40 $(INSTALL_DIR) $(1)/etc/xdg/{autostart,xfce4/xfconf/xfce-perchannel-xml}
41 $(INSTALL_DATA) \
42 $(PKG_INSTALL_DIR)/etc/xdg/autostart/* \
43 $(1)/etc/xdg/autostart/
44 $(INSTALL_DATA) \
45 $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \
46 $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
47
48 $(INSTALL_DIR) $(1)/usr/bin/
49 $(INSTALL_BIN) \
50 $(PKG_INSTALL_DIR)/usr/bin/* \
51 $(1)/usr/bin/
52
53 $(INSTALL_DIR) $(1)/usr/share/applications
54 $(INSTALL_DATA) \
55 $(PKG_INSTALL_DIR)/usr/share/applications/* \
56 $(1)/usr/share/applications
57 endef
58
59 $(eval $(call BuildPackage,xfce4-settings))