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.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.26/
19 include $(INCLUDE_DIR)/package.mk
24 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
25 -L$(STAGING_DIR)/usr/lib/libiconv/lib \
26 -L$(STAGING_DIR)/usr/lib/libintl/lib
32 TITLE:=Text layout and rendering library
33 DEPENDS:=+cairo +glib2 +fontconfig +libfreetype \
34 +FEATURE_drawing-backend_libX11:libX11
37 define Package/pango/description
38 Pango is a library for layout and rendering of text, with an emphasis
39 on internationalization. Pango can be used anywhere that text layout
40 is needed; however, most of the work on Pango so far has been done using
41 the GTK+ widget toolkit as a test platform. Pango forms the core of text
42 and font handling for GTK+-2.x.
46 $(if $(CONFIG_PACKAGE_libX11), --with-x, --without-x)
48 define Build/InstallDev
50 $(1)/usr/lib/pkgconfig \
51 $(1)/usr/lib/pango/1.6.0/modules \
55 $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
59 $(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.{so*,a,la} \
60 $(1)/usr/lib/pango/1.6.0/modules/
63 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
64 $(1)/usr/lib/pkgconfig
67 $(PKG_INSTALL_DIR)/usr/include/* \
71 define Package/pango/install
73 $(1)/usr/lib/pango/1.6.0/modules \
78 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
82 $(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.so* \
83 $(1)/usr/lib/pango/1.6.0/modules/
86 $(PKG_INSTALL_DIR)/usr/bin/pango-querymodules \
90 ./files/pango-querymodules.init \
91 $(1)/etc/init.d/pango-querymodules
94 $(eval $(call BuildPackage,pango))