source: feeds/xfce/app/xfdesktop/Makefile @ 29279

Last change on this file since 29279 was 29279, checked in by nico, 4 years ago

[xfce] fix DL URLs (closes: #9116)

File size: 2.0 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xfdesktop
11PKG_VERSION:=4.6.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://archive.xfce.org/xfce/$(PKG_VERSION)/src/
16PKG_MD5SUM:=ae15cacc3e3834cca7238a8e1035c50d
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24TARGET_LDFLAGS+= \
25        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
26        -Wl,-rpath=/usr/lib
27
28define Package/xfdesktop
29  SECTION:=xorg-app
30  CATEGORY:=Xorg
31  SUBMENU:=app
32  TITLE:=xfdesktop
33  DEPENDS:=+libxfce4util +libxfcegui4 +libxfce4menu +libxfconf +libwnck +libglade +thunar
34endef
35
36define Package/xfdesktop/install
37        $(INSTALL_DIR) $(1)/etc/xdg/menus
38        $(INSTALL_DATA) \
39                $(PKG_INSTALL_DIR)/etc/xdg/menus/* \
40                $(1)/etc/xdg/menus/
41
42        $(INSTALL_DIR) $(1)/usr/lib/xfce4/modules
43        $(INSTALL_DATA) \
44                $(PKG_INSTALL_DIR)/usr/lib/xfce4/modules/*.so \
45                $(1)/usr/lib/xfce4/modules/
46
47        $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins
48        $(INSTALL_BIN) \
49                $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/* \
50                $(1)/usr/lib/xfce4/panel-plugins/
51
52        $(INSTALL_DIR) $(1)/usr/bin/
53        $(INSTALL_BIN) \
54                $(PKG_INSTALL_DIR)/usr/bin/* \
55                $(1)/usr/bin/
56
57        $(INSTALL_DIR) $(1)/usr/share/icons/
58        $(CP) \
59                $(PKG_INSTALL_DIR)/usr/share/icons/* \
60                $(1)/usr/share/icons/
61
62        $(INSTALL_DIR) $(1)/usr/share/pixmaps
63        $(CP) \
64                $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \
65                $(1)/usr/share/pixmaps/
66
67        $(INSTALL_DIR) $(1)/usr/share/xfce4
68        $(CP) \
69                $(PKG_INSTALL_DIR)/usr/share/xfce4/{backdrops,panel-plugins} \
70                $(1)/usr/share/xfce4/
71
72        $(INSTALL_DIR) $(1)/usr/share/desktop-directories
73        $(CP) \
74                $(PKG_INSTALL_DIR)/usr/share/desktop-directories/* \
75                $(1)/usr/share/desktop-directories/
76
77        $(INSTALL_DIR) $(1)/usr/share/applications
78        $(INSTALL_DATA) \
79                $(PKG_INSTALL_DIR)/usr/share/applications/* \
80                $(1)/usr/share/applications/
81endef
82
83$(eval $(call BuildPackage,xfdesktop))
Note: See TracBrowser for help on using the repository browser.