fix DL URLs (closes: #9116)
[openwrt/svn-archive/feeds.git] / xfce / app / xfce4-settings / Makefile
1 #
2 # Copyright (C) 2009-2011 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://archive.xfce.org/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 include $(INCLUDE_DIR)/nls.mk
23
24 TARGET_LDFLAGS+= \
25 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
26 -Wl,-rpath=/usr/lib
27
28 define Package/xfce4-settings
29 SECTION:=xorg-app
30 CATEGORY:=Xorg
31 SUBMENU:=app
32 TITLE:=xfce4-settings
33 DEPENDS:=+libxfce4util +libxfcegui4 +libexo +xfconf +libglade +libdbus-glib \
34 +libXi +libXrandr +xrdb
35 endef
36
37 define Package/xfce4-settings/install
38 $(INSTALL_DIR) $(1)/etc/xdg/{autostart,xfce4/xfconf/xfce-perchannel-xml}
39 $(INSTALL_DATA) \
40 $(PKG_INSTALL_DIR)/etc/xdg/autostart/* \
41 $(1)/etc/xdg/autostart/
42 $(INSTALL_DATA) \
43 $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \
44 $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
45
46 $(INSTALL_DIR) $(1)/usr/bin/
47 $(INSTALL_BIN) \
48 $(PKG_INSTALL_DIR)/usr/bin/* \
49 $(1)/usr/bin/
50
51 $(INSTALL_DIR) $(1)/usr/share/applications
52 $(INSTALL_DATA) \
53 $(PKG_INSTALL_DIR)/usr/share/applications/* \
54 $(1)/usr/share/applications
55 endef
56
57 $(eval $(call BuildPackage,xfce4-settings))