IGNOREPATH=/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.14.2.91 PROGNAME="Pan $VERSION" DESC="\ pan \n\ \n\ This is PAN, a powerful and user-friendly USENET newsreader based on \n\ GTK+2. Pan is the only Unix newsreader to score 100% on the Good \n\ Net-Keeping Seal of Approval newsreader evaluations." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://pan.rebelbase.com/download/ PKGNAME=pan-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/pan-$VERSION.tar.bz2 cd pan-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --localstatedir=/var/lib \ --enable-html \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-pan mkdir -p /package-pan/usr/doc/pan-$VERSION/ cp -a ANNOUNCE.html AUTHORS COPYING CREDITS NEWS README TODO \ /package-pan/usr/doc/pan-$VERSION/ } attributes() { chown -R root.bin $PKG/package-pan/usr/bin } special() { cd $PKG mv package-pan/* ./ rmdir package-pan/ cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-pan/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }