IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.2.5 PROGNAME="pango $VERSION" DESC="\ pango \n\ \n\ Pango is a library for layout and rendering of text, with an emphasis \n\ on internationalization. Pango can be used anywhere that text layout \n\ is needed; however, most of the work on Pango-1.0 was done using the \n\ GTK+ widget toolkit as a test platform. Pango forms the core of text \n\ and font handling for GTK+-2.0." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/pango PKGNAME=pango-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/pango-$VERSION.tar.bz2 cd pango-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc make } install() { make install DESTDIR=/package-pango mkdir -p /package-pango/usr/doc/pango-$VERSION cp -a AUTHORS COPYING ChangeLog NEWS README TODO \ /package-pango/usr/doc/pango-$VERSION # Create the /etc/pango/pango.modules file, and strip off the leading # /package-pango string. LD_LIBRARY_PATH=/package-pango/usr/lib \ /package-pango/usr/bin/pango-querymodules \ /package-pango/usr/lib/pango/1.2.0/modules/* 2>/dev/null | \ sed -e 's%/package-pango%%' > /package-pango/etc/pango/pango.modules } attributes() { chown -R root.bin $PKG/package-pango/usr/bin/ } special() { cd $PKG mv package-pango/* ./ rmdir package-pango cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-pango/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }