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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://www.tx-us.xfce.org
/archive
/xfce-
$(PKG_VERSION
)/src
17 PKG_MD5SUM
:=b4c7cce05cc858d11c9dcd4c2f8dbfdb
22 include $(INCLUDE_DIR
)/package.mk
24 TARGET_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include/
27 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
29 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
/
31 define Package
/libxfce4-panel
38 define Package
/xfce4-panel
43 DEPENDS
:=+libxfce4util
+libxfcegui4
+libexo
+cairo
+libwnck
+libSM
+libX11 \
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/xfce4
/libxfce4panel
}
50 $(PKG_INSTALL_DIR
)/usr
/include/xfce4
/libxfce4panel
/* \
51 $(1)/usr
/include/xfce4
/libxfce4panel
/
53 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*,a
} \
56 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
57 $(1)/usr
/lib
/pkgconfig
/
60 define Package
/xfce4-panel
/install
61 $(INSTALL_DIR
) $(1)/usr
/lib
/
63 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
66 $(INSTALL_DIR
) $(1)/usr
/lib
/xfce4
/panel-plugins
68 $(PKG_INSTALL_DIR
)/usr
/lib
/xfce4
/panel-plugins
/*.so
* \
69 $(1)/usr
/lib
/xfce4
/panel-plugins
71 $(INSTALL_DIR
) $(1)/etc
/xdg
/xfce4
/panel
/
73 $(PKG_INSTALL_DIR
)/etc
/xdg
/xfce4
/panel
/* \
74 $(1)/etc
/xdg
/xfce4
/panel
/
76 $(INSTALL_DIR
) $(1)/usr
/bin
78 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
81 $(INSTALL_DIR
) $(1)/usr
/share
/xfce4
/panel-plugins
83 $(PKG_INSTALL_DIR
)/usr
/share
/xfce4
/panel-plugins
/* \
84 $(1)/usr
/share
/xfce4
/panel-plugins
/
86 $(INSTALL_DIR
) $(1)/usr
/share
/applications
88 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
89 $(1)/usr
/share
/applications
/
91 $(INSTALL_DIR
) $(1)/usr
/share
/icons
/hicolor
93 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/hicolor
/* \
94 $(1)/usr
/share
/icons
/hicolor
/
97 $(eval
$(call BuildPackage
,libxfce4-panel
))
98 $(eval
$(call BuildPackage
,xfce4-panel
))