[package] update faifa to r55, patch from Raphael Huck.
[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
23 TARGET_CFLAGS+=\
24 -I$(STAGING_DIR)/usr/lib/libintl/include/ \
25 -I$(STAGING_DIR)/usr/lib/libiconv/include/
26
27 TARGET_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
32 define Package/pangomm
33 SECTION:=xorg-libs
34 CATEGORY:=Xorg
35 SUBMENU:=libraries
36 TITLE:=Text layout and rendering library
37 DEPENDS:=+glibmm +cairomm +pango
38 endef
39
40 CONFIGURE_ARGS+= --disable-documentation
41
42 define Package/pangomm/description
43 c++-bindings for pango
44 endef
45
46 define Build/InstallDev
47 $(INSTALL_DIR) \
48 $(1)/usr/lib/pkgconfig \
49 $(1)/usr/lib/pangomm/1.6.0/modules \
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/
59
60 $(CP) \
61 $(PKG_INSTALL_DIR)/usr/include/* \
62 $(1)/usr/include/
63 endef
64
65 define Package/pangomm/install
66 $(INSTALL_DIR) \
67 $(1)/usr/lib
68
69 $(CP) \
70 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
71 $(1)/usr/lib/
72 endef
73
74 $(eval $(call BuildPackage,pangomm))