source: packages/Xorg/lib/gtkmm/Makefile @ 20398

Last change on this file since 20398 was 20398, checked in by swalker, 6 years ago

[packages] add missing & update current urls

File size: 1.4 KB
Line 
1#
2# Copyright (C) 2008-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:=gtkmm
11PKG_VERSION:=2.16.0
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.16
16PKG_MD5SUM:=a82e3b5b93008421ff67df16d1e51ec2
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23TARGET_CFLAGS+=\
24        -I$(STAGING_DIR)/usr/lib/libintl/include/ \
25        -I$(STAGING_DIR)/usr/lib/libiconv/include/
26
27TARGET_LDFLAGS+=\
28        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
29        -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
30        -L$(STAGING_DIR)/usr/lib/libiconv/lib/
31
32define Package/gtkmm
33  SECTION:=xorg-framework
34  CATEGORY:=Xorg
35  SUBMENU:=framework
36  TITLE:=GTK+-2.0
37  DEPENDS:=+gtk2 +cairomm +pangomm +glibmm
38  URL:=http://www.gtkmm.org/
39endef
40
41CONFIGURE_ARGS+= --disable-docs --disable-demos
42
43define Build/InstallDev
44        $(INSTALL_DIR) \
45                $(1)/usr/lib/pkgconfig \
46                $(1)/usr/include
47
48        $(CP) \
49                $(PKG_INSTALL_DIR)/usr/include/* \
50                $(1)/usr/include/
51
52        $(CP) \
53                $(PKG_INSTALL_DIR)/usr/lib/* \
54                $(1)/usr/lib/
55
56        $(INSTALL_DATA) \
57                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
58                $(1)/usr/lib/pkgconfig/
59endef
60
61define Package/gtkmm/install
62        $(INSTALL_DIR) \
63                $(1)/usr/lib
64
65        $(CP) \
66                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
67                $(1)/usr/lib/
68endef
69
70$(eval $(call BuildPackage,gtkmm))
Note: See TracBrowser for help on using the repository browser.