# Description: A library for layout and rendering of text # URL: http://www.gtk.org/ # Maintainer: Tilman Sauerbeck, tilman at crux dot nu # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org # Depends on: cairo glib xorg-libsm xorg-libxext xorg-libxft name=pango version=1.24.5 release=1 source=(http://download.gnome.org/sources/$name/1.24/$name-$version.tar.bz2 \ pango.modules) build () { cd $name-$version export DEFAULT_LIBS="-L$CLFS/usr/lib" export DEFAULT_CFLAGS="-I$CLFS/usr/include" export FONTCONFIG_LIBS="$DEFAULT_LIBS -lfontconfig" export FONTCONFIG_CFLAGS="$DEFAULT_CFLAGS" export FREETYPE_LIBS="$DEFAULT_LIBS -lfreetype -lz" export FREETYPE_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2" export XFT_LIBS="$DEFAULT_LIBS -lXft" export XFT_CFLAGS="$DEFAULT_CFLAGS" export GLIB_LIBS="$DEFAULT_LIBS -lglib-2.0 -lgthread-2.0 -pthread -lrt -lgmodule-2.0 -Wl,--export-dynamic -lgio-2.0 -lgobject-2.0" export GLIB_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include" export CAIRO_LIBS="$DEFAULT_LIBS -lcairo" export CAIRO_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/cairo" ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr find -type f -name 'Makefile*' \ -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -i {} \; make make DESTDIR=$PKG install install -D -m 644 $SRC/pango.modules $PKG/usr/etc/pango/pango.modules rm -r $PKG/usr/share }