#!/bin/sh CWD=`pwd` TMP=/tmp PKG=$TMP/package-autoconf VERSION=2.65 ARCH=alpha BUILD=3 TARGET=$ARCH-alphaslack-linux rm -rf $PKG mkdir -p $PKG ( cd $TMP rm -rf autoconf-$VERSION tar xjf $CWD/autoconf-$VERSION.tar.bz2 cd autoconf-$VERSION chown -R root.root . find . -perm 444 -exec chmod 644 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 666 -exec chmod 644 {} \; ./configure \ --prefix=/usr \ --infodir=/usr/info \ --mandir=/usr/man \ --build=$TARGET make || exit 1 make install DESTDIR=$PKG || exit 1 chown -R root.bin $PKG/usr/bin gzip -9 $PKG/usr/man/man1/* $PKG/usr/info/*.info rm -rf $PKG/usr/info/dir mkdir -p $PKG/install cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/autoconf-$VERSION-$ARCH-$BUILD.tgz ) 2>&1 | tee $TMP/autoconf.build.log