IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.9.14 PROGNAME="imlib $VERSION" DESC="\ imlib \n\ \n\ Imlib is a display depth-independent image loading and rendering \n\ library. Imlib is designed to simplify and speed up the process of loading images and obtaining X Window System drawables. Imlib \n\ provides many simple manipulation routines which can be used for \n\ common operations." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/imlib PKGNAME=imlib-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/imlib-$VERSION.tar.gz cd imlib-$VERSION/ chown -R root.root . find . -perm 777 -exec chmod 755 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc make } install() { make install DESTDIR=/package-imlib mkdir -p /package-imlib/usr/doc/imlib-$VERSION cp -a ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS README doc \ /package-imlib/usr/doc/imlib-$VERSION rm -f /package-imlib/usr/doc/imlib-$VERSION/doc/Makefile* ( cd /package-imlib/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-imlib/usr/bin/ } special() { cd $PKG mv package-imlib/* ./ rmdir package-imlib cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-imlib/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }