source: feeds/xfce/app/xfce4-panel/Makefile @ 25481

Last change on this file since 25481 was 25481, checked in by lars, 6 years ago

[packages] xfce: Use nls.mk
Patch by xiangfu

File size: 2.4 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xfce4-panel
11PKG_VERSION:=4.6.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src
16PKG_MD5SUM:=73a366b9892152266b465d7d9c35bef4
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/libxfce4-panel
29  SECTION:=xorg-lib
30  CATEGORY:=Xorg
31  SUBMENU:=libraries
32  TITLE:=libxfce4-panel
33  DEPENDS:=+libstartup-notification +libxfce4util +gtk2 +pango +libX11
34endef
35
36define Package/xfce4-panel
37  SECTION:=xorg-app
38  CATEGORY:=Xorg
39  SUBMENU:=app
40  TITLE:=xfce4-panel
41  DEPENDS:=+libxfce4util +libxfcegui4 +libexo +cairo +libwnck +libSM +libX11 \
42           +gtk2 +libxfce4-panel
43endef
44
45define Build/InstallDev
46        $(INSTALL_DIR)  $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4panel}
47        $(INSTALL_DATA) \
48                $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4panel/* \
49                $(1)/usr/include/xfce4/libxfce4panel/
50        $(CP) \
51                $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \
52                $(1)/usr/lib/
53        $(INSTALL_DATA) \
54                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
55                $(1)/usr/lib/pkgconfig/
56endef
57
58define Package/xfce4-panel/install
59        $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins
60        $(CP) \
61                $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/*.so* \
62                $(1)/usr/lib/xfce4/panel-plugins
63
64        $(INSTALL_DIR) $(1)/etc/xdg/xfce4/panel/
65        $(INSTALL_DATA) \
66                $(PKG_INSTALL_DIR)/etc/xdg/xfce4/panel/* \
67                $(1)/etc/xdg/xfce4/panel/
68
69        $(INSTALL_DIR) $(1)/usr/bin
70        $(INSTALL_BIN) \
71                $(PKG_INSTALL_DIR)/usr/bin/* \
72                $(1)/usr/bin/
73
74        $(INSTALL_DIR) $(1)/usr/share/xfce4/panel-plugins
75        $(INSTALL_DATA) \
76                $(PKG_INSTALL_DIR)/usr/share/xfce4/panel-plugins/* \
77                $(1)/usr/share/xfce4/panel-plugins/
78
79        $(INSTALL_DIR) $(1)/usr/share/applications
80        $(INSTALL_DATA) \
81                $(PKG_INSTALL_DIR)/usr/share/applications/* \
82                $(1)/usr/share/applications/
83
84        $(INSTALL_DIR) $(1)/usr/share/icons/hicolor
85        $(CP) \
86                $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \
87                $(1)/usr/share/icons/hicolor/
88endef
89
90define Package/libxfce4-panel/install
91        $(INSTALL_DIR) $(1)/usr/lib/
92        $(INSTALL_DATA) \
93                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
94                $(1)/usr/lib/
95endef
96
97$(eval $(call BuildPackage,libxfce4-panel))
98$(eval $(call BuildPackage,xfce4-panel))
Note: See TracBrowser for help on using the repository browser.