IGNOREPATH=/home:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.15.2 PROGNAME="procmail" DESC="\ procmail (mail processing and local delivery program) \n\ \n\ Can be used to create mail-servers, mailing lists, sort your incoming \n\ mail into separate folders/files (real convenient when subscribing to \n\ one or more mailing lists or for prioritizing your mail), preprocess \n\ your mail, start any programs upon mail arrival (e.g. to generate \n\ different chimes on your workstation for different types of mail) or \n\ selectively forward certain incoming mail automatically to someone. \n\ Procmail is required by sendmail to deliver the local mail. \n\ The author of procmail is Stephen R. van den Berg." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.procmail.net/pub/procmail/ PKGNAME=procmail-$VERSION-s390-$BUILD TAG=REC compile() { tar xvzf $CWD/procmail-$VERSION.tar.gz cd procmail-$VERSION/ chown -R root.root . find . -perm 777 -exec chmod 755 {} \; find . -perm 664 -exec chmod 644 {} \; echo " " | make } install() { mkdir /package-procmail make install BASENAME=/package-procmail/usr mkdir -p /package-procmail/usr/doc/procmail-$VERSION cp -a Artistic COPYING FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README \ examples /package-procmail/usr/doc/procmail-$VERSION ( cd /package-procmail/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-procmail/usr/bin/ chown root.mail $PKG/package-procmail/usr/bin/procmail \ $PKG/package-procmail/usr/bin/lockfile chmod 6755 $PKG/package-procmail/usr/bin/procmail chmod 2755 $PKG/package-procmail/usr/bin/lockfile chmod 755 $PKG/package-procmail/usr/doc/procmail-$VERSION/examples/dirname \ $PKG/package-procmail/usr/doc/procmail-$VERSION/examples/mailstat } special() { cd $PKG mv package-procmail/* ./ rmdir package-procmail/ cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-procmail/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }