IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y PROGNAME="Parallel Make" VERSION=2.1.35 DESC="\ pmake (BSD parallel make) \n\ \n\ This is PMake -- a parallel Make program originally written for the \n\ Sprite operating system, ported from BSD Unix. This may be useful if \n\ you're going to port software with Makefiles designed for BSD. \n\ \n\ PMake was written by Adam de Boor and Andreas Stolcke." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.icsi.berkeley.edu/pub/ai/stolcke/software/ PKGNAME=pmake-$VERSION-s390-$BUILD TAG=REC compile() { tar -xvzf $CWD/pmake-$VERSION.tar.gz cd pmake/ zcat $CWD/pmake.diff.gz | patch -p1 tar -xvzf $CWD/sys-linux.mk.tar.gz tar -zxvf $CWD/sys-linux.s390.mk.tar.gz chown -R root.root . # (1) build pmake with gmake make -f makefile } install() { cp pmake /usr/bin ( cd /usr/bin rm -r vmake ; ln -sf pmake vmake ) ( cd /usr/share rm -rf mk ; mkdir mk ) cp -a lib/mk/system.mk lib/mk/*.mk /usr/share/mk # (2) rebuild pmake with itself pmake -f makefile clean pmake -f makefile cp pmake /usr/bin # (3) rebuild pmake with itself one more time pmake -f makefile clean pmake -f makefile cp pmake /usr/bin chown root.bin /usr/bin/pmake # install a few more things cp $CWD/pmake.1.gz /usr/man/man1 mkdir -p /usr/doc/pmake-$VERSION cp CHANGES INSTALL README /usr/doc/pmake-$VERSION groff -ms -Tascii doc/tutorial.ms > /usr/doc/pmake-$VERSION/tutorial.txt } attributes() { chmod 444 $PKG/usr/doc/pmake-$VERSION/[A-Z]* } special() { cd $CTL cat $CWD/slack-desc > slack-desc }