IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.80 PROGNAME="GNU make $VERSION" DESC="\ make (GNU make utility to maintain groups of programs) \n\ \n\ This is the GNU implementation of make, which was written by Richard \n\ Stallman and Roland McGrath. The purpose of the make utility is to \n\ determine automatically which pieces of a large program need to be \n\ recompiled, and issue the commands to recompile them. \n\ \n\ This is needed to compile just about any major C program, including \n\ the Linux kernel." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/gnu/make/ PKGNAME=make-$VERSION-s390-$BUILD TAG=ADD compile() { tar -yxvf $CWD/make-$VERSION.tar.bz2 cd make-$VERSION/ chown -R root.root . CFLAGS=-O2 LDFLAGS=-s \ ./configure --prefix=/usr \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-make ( cd /package-make/usr/bin rm -rf gmake ; ln -sf make gmake ) mkdir -p /package-make/usr/doc/make-$VERSION cp -a ABOUT-NLS AUTHORS COPYING INSTALL NEWS README README.customs \ /package-make/usr/doc/make-$VERSION (cd /package-make/usr/man/man1 rm -f *.gz gzip -9 *.1 ) (cd /package-make/usr/info rm -f *.gz gzip -9 * ) } attributes() { chown -R root.bin $PKG/package-make/usr/bin/ } special() { cd $PKG mv package-make/* ./ rmdir package-make cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's/package-make\///' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }