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
:=ae15cacc3e3834cca7238a8e1035c50d
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
/xfdesktop
35 DEPENDS
:=+libxfce4util
+libxfcegui4
+libxfce4menu
+libxfconf
+libwnck
+libglade
+thunar
38 define Package
/xfdesktop
/install
39 $(INSTALL_DIR
) $(1)/etc
/xdg
/menus
41 $(PKG_INSTALL_DIR
)/etc
/xdg
/menus
/* \
44 $(INSTALL_DIR
) $(1)/usr
/lib
/xfce4
/modules
46 $(PKG_INSTALL_DIR
)/usr
/lib
/xfce4
/modules
/*.so \
47 $(1)/usr
/lib
/xfce4
/modules
/
49 $(INSTALL_DIR
) $(1)/usr
/lib
/xfce4
/panel-plugins
51 $(PKG_INSTALL_DIR
)/usr
/lib
/xfce4
/panel-plugins
/* \
52 $(1)/usr
/lib
/xfce4
/panel-plugins
/
54 $(INSTALL_DIR
) $(1)/usr
/bin
/
56 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
59 $(INSTALL_DIR
) $(1)/usr
/share
/icons
/
61 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/* \
64 $(INSTALL_DIR
) $(1)/usr
/share
/pixmaps
66 $(PKG_INSTALL_DIR
)/usr
/share
/pixmaps
/* \
67 $(1)/usr
/share
/pixmaps
/
69 $(INSTALL_DIR
) $(1)/usr
/share
/xfce4
71 $(PKG_INSTALL_DIR
)/usr
/share
/xfce4
/{backdrops
,panel-plugins
} \
74 $(INSTALL_DIR
) $(1)/usr
/share
/desktop-directories
76 $(PKG_INSTALL_DIR
)/usr
/share
/desktop-directories
/* \
77 $(1)/usr
/share
/desktop-directories
/
79 $(INSTALL_DIR
) $(1)/usr
/share
/applications
81 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
82 $(1)/usr
/share
/applications
/
85 $(eval
$(call BuildPackage
,xfdesktop
))