2 # Copyright (C) 2009-2011 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
://archive.xfce.org
/xfce
/$(PKG_VERSION
)/src
/
16 PKG_MD5SUM
:=73a366b9892152266b465d7d9c35bef4
21 include $(INCLUDE_DIR
)/package.mk
22 include $(INCLUDE_DIR
)/nls.mk
25 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
28 define Package
/libxfce4-panel
33 DEPENDS
:=+libstartup-notification
+libxfce4util
+gtk2
+pango
+libX11
36 define Package
/xfce4-panel
41 DEPENDS
:=+libxfce4util
+libxfcegui4
+libexo
+cairo
+libwnck
+libSM
+libX11 \
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/xfce4
/libxfce4panel
}
48 $(PKG_INSTALL_DIR
)/usr
/include/xfce4
/libxfce4panel
/* \
49 $(1)/usr
/include/xfce4
/libxfce4panel
/
51 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*,a
} \
54 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
55 $(1)/usr
/lib
/pkgconfig
/
58 define Package
/xfce4-panel
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
/xfce4
/panel-plugins
61 $(PKG_INSTALL_DIR
)/usr
/lib
/xfce4
/panel-plugins
/*.so
* \
62 $(1)/usr
/lib
/xfce4
/panel-plugins
64 $(INSTALL_DIR
) $(1)/etc
/xdg
/xfce4
/panel
/
66 $(PKG_INSTALL_DIR
)/etc
/xdg
/xfce4
/panel
/* \
67 $(1)/etc
/xdg
/xfce4
/panel
/
69 $(INSTALL_DIR
) $(1)/usr
/bin
71 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
74 $(INSTALL_DIR
) $(1)/usr
/share
/xfce4
/panel-plugins
76 $(PKG_INSTALL_DIR
)/usr
/share
/xfce4
/panel-plugins
/* \
77 $(1)/usr
/share
/xfce4
/panel-plugins
/
79 $(INSTALL_DIR
) $(1)/usr
/share
/applications
81 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
82 $(1)/usr
/share
/applications
/
84 $(INSTALL_DIR
) $(1)/usr
/share
/icons
/hicolor
86 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/hicolor
/* \
87 $(1)/usr
/share
/icons
/hicolor
/
90 define Package
/libxfce4-panel
/install
91 $(INSTALL_DIR
) $(1)/usr
/lib
/
93 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
97 $(eval
$(call BuildPackage
,libxfce4-panel
))
98 $(eval
$(call BuildPackage
,xfce4-panel
))