2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 # $Id: Makefile 12845 2008-10-03 21:55:24Z lars $
10 include $(TOPDIR)/rules.mk
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.22/
18 PKG_MD5SUM:=0d4dc87f9b523e9030afccb2d05afe0b
21 include $(INCLUDE_DIR)/package.mk
26 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
27 -L$(STAGING_DIR)/usr/lib/libiconv/lib \
28 -L$(STAGING_DIR)/usr/lib/libintl/lib
34 TITLE:=Text layout and rendering library
35 DEPENDS:=+cairo +glib2 +fontconfig +libXft
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.
46 define Build/InstallDev
47 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,lib/pango/1.6.0/modules,include}
49 $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
53 $(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.{so*,a,la} \
54 $(1)/usr/lib/pango/1.6.0/modules/
57 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
58 $(1)/usr/lib/pkgconfig
61 $(PKG_INSTALL_DIR)/usr/include/* \
65 define Package/pango/install
66 $(INSTALL_DIR) $(1)/usr/{lib/pango/1.6.0/modules,bin}
68 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
72 $(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.so* \
73 $(1)/usr/lib/pango/1.6.0/modules/
76 $(PKG_INSTALL_DIR)/usr/bin/pango-querymodules \
79 $(INSTALL_DIR) $(1)/etc/init.d/
80 $(INSTALL_BIN) ./files/pango-querymodules.init $(1)/etc/init.d/pango-querymodules
83 $(eval $(call BuildPackage,pango))