IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.10 PROGNAME="distcc $VERSION" DESC="\ distcc (distributed C/C++ compiler/daemon) \n\ \n\ distcc allows compilation of C code to be distributed across several \n\ machines on a network. distcc should always generate the same results \n\ as a local compile, is simple to install and use, and is often \n\ significantly faster than a local compile. \n\ \n\ IMPORTANT SECURITY NOTE: distccd should only run on trusted networks. \n\ \n\ distcc was written by Martin Pool." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/distcc PKGNAME=distcc-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/distcc-$VERSION.tar.bz2 cd distcc-$VERSION/ chown -R root.root . ./configure --prefix=/usr \ --sysconfdir=/etc make } install() { # The install command looks wrong, but DESTDIR gets added in front of # the docdir and pkgdocdir values as well. make install DESTDIR=/package-distcc docdir=/usr/doc \ pkgdocdir=/usr/doc/distcc-$VERSION ( cd /package-distcc/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-distcc/usr/bin/ } special() { cd $PKG mv package-distcc/* ./ rmdir package-distcc cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-distcc/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }