#!/bin/sh # Set initial variables: CWD=`pwd` TMP=/tmp PKG=$TMP/package-make VERSION=3.81 ARCH=alpha BUILD=2 TARGET=$ARCH-alphaslack-linux rm -rf $PKG mkdir -p $PKG ( cd $TMP rm -rf make-$VERSION tar xjf $CWD/make-$VERSION.tar.bz2 cd make-$VERSION chown -R root.root . ./configure \ --prefix=/usr \ $TARGET make || exit make install DESTDIR=$PKG strip $PKG/usr/bin/make chown -R root.bin $PKG/usr/bin ( cd $PKG/usr/bin rm -f gmake ln -sf make gmake ) rm -rf $PKG/usr/info/dir gzip -9 $PKG/usr/man/man?/* $PKG/usr/info/*.inf* mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/make-$VERSION-$ARCH-$BUILD.tgz ) 2>&1 | tee $TMP/make.build.log