source: feeds/lxde/libs/libmenu-cache/Makefile @ 23139

Last change on this file since 23139 was 23139, checked in by mb, 6 years ago

Update LXDE.
lxterminal needs an updated version of VTE. This is currently being worked around by disabling a cursor shaping feature.

  • Property svn:keywords set to date id author revision
File size: 1.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# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=menu-cache
12PKG_VERSION:=0.3.2
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=@SF/lxde
17PKG_MD5SUM:=
18PKG_FIXUP:=libtool
19
20include $(INCLUDE_DIR)/package.mk
21
22PKG_INSTALL=1
23
24TARGET_CFLAGS+= \
25        -I$(STAGING_DIR)/usr/lib/libintl/include/ \
26        -I$(STAGING_DIR)/usr/lib/libiconv/include/
27
28TARGET_LDFLAGS+= \
29        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
30        -L$(STAGING_DIR)/usr/lib/libintl/lib \
31        -L$(STAGING_DIR)/usr/lib/libiconv/lib
32
33define Package/libmenu-cache
34  SECTION:=xorg-app
35  CATEGORY:=Xorg
36  SUBMENU:=app
37  TITLE:=libmenu-cache
38  DEPENDS:=+glib2
39endef
40
41define Build/InstallDev
42        $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/menu-cache}
43        $(INSTALL_DATA) \
44                $(PKG_INSTALL_DIR)/usr/include/menu-cache/*.h \
45                $(1)/usr/include/menu-cache/
46        $(CP) \
47                $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
48                $(1)/usr/lib/
49        $(INSTALL_DATA) \
50                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
51                $(1)/usr/lib/pkgconfig/
52endef
53
54define Package/libmenu-cache/install
55        $(INSTALL_DIR) $(1)/usr/lib
56        $(INSTALL_BIN) \
57                $(PKG_INSTALL_DIR)/usr/lib/menu-{cached,cache-gen} \
58                $(1)/usr/lib/
59        $(CP) \
60                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
61                $(1)/usr/lib/
62endef
63
64$(eval $(call BuildPackage,libmenu-cache))
Note: See TracBrowser for help on using the repository browser.