IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.6.4 PROGNAME="popa3d $VERSION" DESC="\ popa3d (a POP3 daemon) \n\ \n\ popa3d is a Post Office Protocol version 3 (POP3) server. A POP3 \n\ server operates on local mailboxes on behalf of its remote users. \n\ Users can connect at any time to check their mailbox and fetch the \n\ mail that has accumulated. The design goals of this POP3 server are \n\ security, reliability, RFC compliance (slightly relaxed to work with \n\ real-world POP3 clients), and high performance. \n\ \n\ The apop3d daemon was written by Solar Designer." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/popa3d PKGNAME=popa3d-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/popa3d-$VERSION.tar.gz cd popa3d-$VERSION/ chown -R root.root . zcat $CWD/popa3d.diff.gz | patch -p1 --verbose --backup --suffix=.orig make } install() { make install DESTDIR=/package-popa3d mkdir -p /package-popa3d/usr/doc/popa3d-$VERSION cp -a CHANGES CONTACT DESIGN INSTALL LICENSE VIRTUAL \ /package-popa3d/usr/doc/popa3d-$VERSION ( cd /package-popa3d/usr/man/man8 rm -f *.gz gzip -9 *.8 ) # Empty directory to chroot() into: mkdir -p /package-popa3d/var/spool/pop } attributes() { chown -R root.bin $PKG/package-popa3d/usr/sbin chmod 755 $PKG/package-popa3d/usr/sbin/* } special() { cd $PKG mv package-popa3d/* ./ rmdir package-popa3d cd $CTL cat $CWD/slack-desc > slack-desc zcat $CWD/doinst.sh.gz >> doinst.sh sed -e 's%package-popa3d/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }