IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt STRIPLIB=y STRIPBIN=y VERSION=1.2.1.1 PROGNAME="zlib $VERSION" DESC="\ zlib (compression library) \n\ \n\ zlib is a general purpose thread safe data compression library. The \n\ data format used by the zlib library is described by RFCs 1950 to \n\ 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format) \n\ rfc1951.txt (deflate format) and rfc1952.txt (gzip format)." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.cdrom.com/pub/infozip/zlib PKGNAME=zlib-$VERSION-s390-$BUILD TAG=REC compile() { tar -xvzf $CWD/zlib-$VERSION.tar.gz cd zlib-$VERSION/ cd .. cp -a zlib-$VERSION zlib-shared-$VERSION cd zlib-$VERSION mandir=/package-zlib/usr/man \ ./configure --prefix=/usr make clean make cd .. cd zlib-shared-$VERSION/ mandir=/package-zlib/usr/man \ ./configure --prefix=/usr \ --shared make clean make cd .. } install() { cd $TMP/zlib-$VERSION/ mkdir -p /package-zlib/usr make install prefix=/package-zlib/usr mkdir -p /package-zlib/usr/doc/zlib-$VERSION cp -a ChangeLog FAQ INDEX README /package-zlib/usr/doc/zlib-$VERSION cd $TMP/zlib-shared-$VERSION/ make install prefix=/package-zlib/usr ( cd /package-zlib/usr/man/man3 rm -f *.gz gzip -9 *.3 ) } attributes() { chmod 644 $PKG/package-zlib/usr/lib/libz.a } special() { cd $PKG mv package-zlib/* ./ rmdir package-zlib/ cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-zlib/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }