Update xfce packages to 4.6.1
[openwrt/svn-archive/feeds.git] / xfce / app / xfdesktop / 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:=xfdesktop
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:=ae15cacc3e3834cca7238a8e1035c50d
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/xfdesktop
31 SECTION:=xorg-app
32 CATEGORY:=Xorg
33 SUBMENU:=app
34 TITLE:=xfdesktop
35 DEPENDS:=+libxfce4util +libxfcegui4 +libxfce4menu +libxfconf +libwnck +libglade +thunar
36 endef
37
38 define Package/xfdesktop/install
39 $(INSTALL_DIR) $(1)/etc/xdg/menus
40 $(INSTALL_DATA) \
41 $(PKG_INSTALL_DIR)/etc/xdg/menus/* \
42 $(1)/etc/xdg/menus/
43
44 $(INSTALL_DIR) $(1)/usr/lib/xfce4/modules
45 $(INSTALL_DATA) \
46 $(PKG_INSTALL_DIR)/usr/lib/xfce4/modules/*.so \
47 $(1)/usr/lib/xfce4/modules/
48
49 $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins
50 $(INSTALL_BIN) \
51 $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/* \
52 $(1)/usr/lib/xfce4/panel-plugins/
53
54 $(INSTALL_DIR) $(1)/usr/bin/
55 $(INSTALL_BIN) \
56 $(PKG_INSTALL_DIR)/usr/bin/* \
57 $(1)/usr/bin/
58
59 $(INSTALL_DIR) $(1)/usr/share/icons/
60 $(CP) \
61 $(PKG_INSTALL_DIR)/usr/share/icons/* \
62 $(1)/usr/share/icons/
63
64 $(INSTALL_DIR) $(1)/usr/share/pixmaps
65 $(CP) \
66 $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \
67 $(1)/usr/share/pixmaps/
68
69 $(INSTALL_DIR) $(1)/usr/share/xfce4
70 $(CP) \
71 $(PKG_INSTALL_DIR)/usr/share/xfce4/{backdrops,panel-plugins} \
72 $(1)/usr/share/xfce4/
73
74 $(INSTALL_DIR) $(1)/usr/share/desktop-directories
75 $(CP) \
76 $(PKG_INSTALL_DIR)/usr/share/desktop-directories/* \
77 $(1)/usr/share/desktop-directories/
78
79 $(INSTALL_DIR) $(1)/usr/share/applications
80 $(INSTALL_DATA) \
81 $(PKG_INSTALL_DIR)/usr/share/applications/* \
82 $(1)/usr/share/applications/
83 endef
84
85 $(eval $(call BuildPackage,xfdesktop))