VERSION=6.0.0 BUILD=2 ARCH=i386 TAG=REC PKGNAME=apsfilter-$VERSION-$ARCH-$BUILD MAINTAINER="David Cantrell " IGNOREPATH=/tmp:/proc:/dev:/root:/var:/a STRIPLIB=y STRIPBIN=y PROGNAME=apsfilter DESC="\ apsfilter-$VERSION.\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.\n\ \n\ To configure apsfilter, run the SETUP program in /usr/lib/apsfilter." compile() { rm -rf /usr/lib/apsfilter } install() { cd /usr/lib tar xvzf $CWD/apsfilter-$VERSION.tar.gz ( cd apsfilter zcat $CWD/diff-$VERSION-09.01.2001.gz | patch -p0 --verbose ) cd /usr/doc rm -rf apsfilter-$VERSION ln -sf /usr/lib/apsfilter apsfilter-$VERSION }