source: feeds/xfce/libs/libxfce4menu/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: 1.2 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:=libxfce4menu
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:=5dc9343885c2c6f931318b2a1cdcc9db
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/libxfce4menu
25  SECTION:=xorg-framework
26  CATEGORY:=Xorg
27  SUBMENU:=framework
28  TITLE:=libxfce4menu
29  DEPENDS:=+gtk2 +libxfce4util +glib2
30endef
31
32define Build/InstallDev
33        $(INSTALL_DIR)  $(1)/usr/{lib/pkgconfig,include/xfce4/libxfce4menu-0.1}
34        $(CP) \
35                $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4menu-0.1/* \
36                $(1)/usr/include/xfce4/libxfce4menu-0.1/
37        $(CP) \
38                $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \
39                $(1)/usr/lib/
40        $(INSTALL_DATA) \
41                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
42                $(1)/usr/lib/pkgconfig/
43endef
44
45define Package/libxfce4menu/install
46        $(INSTALL_DIR) $(1)/usr/lib/
47        $(CP) \
48                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
49                $(1)/usr/lib/
50endef
51
52$(eval $(call BuildPackage,libxfce4menu))
Note: See TracBrowser for help on using the repository browser.