add missing dependency libnotimpl to package gtk1
[openwrt/svn-archive/archive.git] / Xorg / lib / pango / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # blogic@openwrt.org
8 # $Id: Makefile 12845 2008-10-03 21:55:24Z lars $
9
10 include $(TOPDIR)/rules.mk
11
12 PKG_NAME:=pango
13 PKG_VERSION:=1.22.2
14 PKG_RELEASE:=4
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.22/
18 PKG_MD5SUM:=0d4dc87f9b523e9030afccb2d05afe0b
19 PKG_FIXUP:=libtool
20
21 include $(INCLUDE_DIR)/package.mk
22
23 PKG_INSTALL=1
24
25 TARGET_LDFLAGS+= \
26 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
27 -L$(STAGING_DIR)/usr/lib/libiconv/lib \
28 -L$(STAGING_DIR)/usr/lib/libintl/lib
29
30 define Package/pango
31 SECTION:=xorg-libs
32 CATEGORY:=Xorg
33 SUBMENU:=libraries
34 TITLE:=Text layout and rendering library
35 DEPENDS:=+cairo +glib2 +fontconfig +libXft
36 endef
37
38 define Package/pango/description
39 Pango is a library for layout and rendering of text, with an emphasis
40 on internationalization. Pango can be used anywhere that text layout
41 is needed; however, most of the work on Pango so far has been done using
42 the GTK+ widget toolkit as a test platform. Pango forms the core of text
43 and font handling for GTK+-2.x.
44 endef
45
46 define Build/InstallDev
47 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,lib/pango/1.6.0/modules,include}
48 $(CP) \
49 $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
50 $(1)/usr/lib
51
52 $(CP) \
53 $(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.{so*,a,la} \
54 $(1)/usr/lib/pango/1.6.0/modules/
55
56 $(INSTALL_DATA) \
57 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
58 $(1)/usr/lib/pkgconfig
59
60 $(CP) \
61 $(PKG_INSTALL_DIR)/usr/include/* \
62 $(1)/usr/include/
63 endef
64
65 define Package/pango/install
66 $(INSTALL_DIR) $(1)/usr/{lib/pango/1.6.0/modules,bin}
67 $(CP) \
68 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
69 $(1)/usr/lib/
70
71 $(CP) \
72 $(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.so* \
73 $(1)/usr/lib/pango/1.6.0/modules/
74
75 $(INSTALL_BIN) \
76 $(PKG_INSTALL_DIR)/usr/bin/pango-querymodules \
77 $(1)/usr/bin/
78
79 $(INSTALL_DIR) $(1)/etc/init.d/
80 $(INSTALL_BIN) ./files/pango-querymodules.init $(1)/etc/init.d/pango-querymodules
81 endef
82
83 $(eval $(call BuildPackage,pango))