IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=7.2.5 PROGNAME="apsfilter $VERSION" DESC="\ apsfilter (printer filter and configuration tool) \n\ \n\ Apsfilter is a printer input filter. With apsfilter installed and \n\ configured, you can print many different file types (like ASCII, \n\ PostScript, and DVI, as well as compressed versions of all of these) \n\ directly with 'lpr', and apsfilter will automatically handle the \n\ conversion process on the fly. What does apsfilter stand for? \n\ Apsfilter Prints So Fine, It Leads To Extraordinary Results ;-) \n\ \n\ To configure apsfilter, run the SETUP program in /usr/share/apsfilter." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://www.freebsd.org/~andreas/apsfilter/download PKGNAME=apsfilter-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/apsfilter-$VERSION.tar.bz2 cd apsfilter/ chown -R root.root . CFLAGS=-O2 ./configure --prefix=/usr --sysconfdir=/etc make } install() { make install DESTDIR=/package-apsfilter rm -rf /package-apsfilter/usr/doc/apsfilter-$VERSION mkdir -p /package-apsfilter/usr/doc/ mv /package-apsfilter/usr/share/doc/apsfilter /package-apsfilter/usr/doc/apsfilter-$VERSION rm -rf /package-apsfilter/usr/share/doc/ rm -rf /package-apsfilter/etc/ ( cd /package-apsfilter/usr/man for dir in 1 5; do ( cd man$dir rm -f *.gz gzip -9 *.$dir ) done ) } attributes() { chown -R root.bin $PKG/package-apsfilter/usr/bin/ chmod 755 $PKG/package-apsfilter/usr/bin/* chmod 644 $PKG/package-apsfilter/usr/man/man*/* chmod -R 755 $PKG/package-apsfilter/usr/share/apsfilter/ find $PKG/package-apsfilter/usr/share/apsfilter/driver/ -type f | xargs chmod 644 find $PKG/package-apsfilter/usr/share/apsfilter/setup -type f | xargs chmod 644 find $PKG/package-apsfilter/usr/share/apsfilter/template -type f | xargs chmod 644 } special() { cd $PKG mv package-apsfilter/* ./ rmdir package-apsfilter/ cd $CTL cat $CWD/slack-desc > slack-desc }