#NEEDS=glib2-sc.inc build_pango() { . ./glib2-sc.inc . ./cairo-sc.inc HERE=`pwd` NAME=pango VER=1.28.4 BUILDDEPS="compiletc.tcz" if [ ! -f pango-1.29.5.tar.bz2 ]; then wget http://ftp.gnome.org/pub/GNOME/sources/pango/1.29/pango-1.29.5.tar.bz2 fi for I in `echo "$BUILDDEPS"`; do su tc -c "tce-load -i "$I"" || su tc -c "tce-load -iw "$I"" done PKGPATH=$1 export LDFLAGS="-L$PKGPATH/lib" export CPPFLAGS="-I$PKGPATH/include" export PATH="$PKGPATH/bin:$PATH" export PKG_CONFIG_PATH="$PKGPATH/lib/pkgconfig:$PKG_CONFIG_PATH" if [ ! -f "$TMPDIR"/glib2 ]; then build_glib2 "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/cairo ]; then build_cairo "$PKGPATH" || exit 1 fi tar xvf pango-1.29.5.tar.bz2 || exit 1 cd pango-1.29.5 || exit 1 ./configure --prefix="$PKGPATH" || exit 1 make || exit 1 make install || exit 1 touch "$TMPDIR"/pango cd "$HERE" }