Update xfce packages to 4.6.0
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=xfce4-settings
12 PKG_VERSION:=4.6.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/
17 PKG_MD5SUM:=ac538c4ab32e3a91f4567141adc3c898
18
19 PKG_FIXUP:=libtool
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24
25 TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
26
27 TARGET_LDFLAGS+= \
28 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
29 -Wl,-rpath=/usr/lib \
30 -L$(STAGING_DIR)/usr/lib/libintl/lib
31
32 define Package/xfce4-settings
33 SECTION:=xorg-app
34 CATEGORY:=Xorg
35 SUBMENU:=app
36 TITLE:=xfce4-settings
37 DEPENDS:=+libxfce4util +libxfcegui4 +libexo +xfconf +libglade +libdbus-glib \
38 +libXi +libXrandr +xrdb
39 endef
40
41 define Package/xfce4-settings/install
42 $(INSTALL_DIR) $(1)/etc/xdg/{autostart,xfce4/xfconf/xfce-perchannel-xml}
43 $(INSTALL_DATA) \
44 $(PKG_INSTALL_DIR)/etc/xdg/autostart/* \
45 $(1)/etc/xdg/autostart/
46 $(INSTALL_DATA) \
47 $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \
48 $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
49
50 $(INSTALL_DIR) $(1)/usr/bin/
51 $(INSTALL_BIN) \
52 $(PKG_INSTALL_DIR)/usr/bin/* \
53 $(1)/usr/bin/
54
55 $(INSTALL_DIR) $(1)/usr/share/applications
56 $(INSTALL_DATA) \
57 $(PKG_INSTALL_DIR)/usr/share/applications/* \
58 $(1)/usr/share/applications
59 endef
60
61 $(eval $(call BuildPackage,xfce4-settings))