Update xfce packages to 4.6.0
[openwrt/svn-archive/feeds.git] / xfce / libs / libxfce4menu / Makefile
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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libxfce4menu
12 PKG_VERSION:=4.6.0
13 PKG_RELEASE:=1
14
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:=ff7f75ffa33debd3495b1156a55828a8
18
19 PKG_FIXUP:=libtool
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 TARGET_CFLAGS+= \
25 -I$(STAGING_DIR)/usr/lib/libintl/include
26
27 TARGET_LDFLAGS+= \
28 -L$(STAGING_DIR)/usr/lib/libintl/lib
29
30 define Package/libxfce4menu
31 SECTION:=xorg-framework
32 CATEGORY:=Xorg
33 SUBMENU:=framework
34 TITLE:=libxfce4menu
35 DEPENDS:=+gtk2 +libxfce4util +glib2
36 endef
37
38 define Build/InstallDev
39 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4menu-0.1}
40 $(CP) \
41 $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4menu-0.1/* \
42 $(1)/usr/include/xfce4/libxfce4menu-0.1/
43 $(CP) \
44 $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \
45 $(1)/usr/lib/
46 $(INSTALL_DATA) \
47 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
48 $(1)/usr/lib/pkgconfig/
49 endef
50
51 define Package/libxfce4menu/install
52 $(INSTALL_DIR) $(1)/usr/lib/
53 $(CP) \
54 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
55 $(1)/usr/lib/
56 endef
57
58 $(eval $(call BuildPackage,libxfce4menu))