[packages] make libintl and libiconv stub/full implementations switchable, use the...
[openwrt/svn-archive/archive.git] / Xorg / lib / pangomm / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pangomm
11 PKG_VERSION:=2.26.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.26/
16 PKG_MD5SUM:=37f54dc8e6cb73ed923b22f313352156
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/nls.mk
23
24 TARGET_LDFLAGS+=\
25 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
26
27 define Package/pangomm
28 SECTION:=xorg-libraries
29 CATEGORY:=Xorg
30 SUBMENU:=libraries
31 TITLE:=Text layout and rendering library
32 DEPENDS:=+glibmm +cairomm +pango
33 URL:=http://www.pango.org/
34 endef
35
36 CONFIGURE_ARGS+= --disable-documentation
37
38 define Package/pangomm/description
39 c++-bindings for pango
40 endef
41
42 define Build/InstallDev
43 $(INSTALL_DIR) \
44 $(1)/usr/lib/pkgconfig \
45 $(1)/usr/lib/pangomm/1.6.0/modules \
46 $(1)/usr/include
47
48 $(CP) \
49 $(PKG_INSTALL_DIR)/usr/lib/* \
50 $(1)/usr/lib/
51
52 $(INSTALL_DATA) \
53 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
54 $(1)/usr/lib/pkgconfig/
55
56 $(CP) \
57 $(PKG_INSTALL_DIR)/usr/include/* \
58 $(1)/usr/include/
59 endef
60
61 define Package/pangomm/install
62 $(INSTALL_DIR) \
63 $(1)/usr/lib
64
65 $(CP) \
66 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
67 $(1)/usr/lib/
68 endef
69
70 $(eval $(call BuildPackage,pangomm))