source: packages/libs/glibmm/Makefile @ 25319

Last change on this file since 25319 was 25319, checked in by jow, 5 years ago

[packages] make libintl and libiconv stub/full implementations switchable, use the new include/nls.mk infrastructure for it

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2009-2010 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:=glibmm
11PKG_VERSION:=2.22.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@GNOME/glibmm/2.22
16PKG_MD5SUM:=1a96c7fde75ddbb421bc23fb4aa7adba
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/glibmm
25  SECTION:=libs
26  CATEGORY:=Libraries
27  DEPENDS:=+libsigcxx +glib2 +libstdcpp
28  TITLE:=glibmm
29  URL:=http://www.gtk.org/
30endef
31
32define Package/glibmm/description
33c++ bindings for glib2
34endef
35
36TARGET_LDFLAGS+= \
37        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
38
39CONFIGURE_ARGS+= --disable-fulldocs
40
41define Build/InstallDev
42        $(INSTALL_DIR) $(1)/usr/include
43        $(CP) \
44                $(PKG_INSTALL_DIR)/usr/include/* \
45                $(1)/usr/include/
46
47        $(INSTALL_DIR) $(1)/usr/lib
48        $(CP) \
49                $(PKG_INSTALL_DIR)/usr/lib/* \
50                $(1)/usr/lib/
51
52        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
53        $(INSTALL_DATA) \
54                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
55                $(1)/usr/lib/pkgconfig
56endef
57
58define Package/glibmm/install
59        $(INSTALL_DIR) $(1)/usr/lib
60        $(CP) \
61                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
62                $(1)/usr/lib/
63endef
64
65$(eval $(call BuildPackage,glibmm))
Note: See TracBrowser for help on using the repository browser.