#!/bin/sh -x PACKAGE=automake1.4 VERSION=1.4p6 ARCH=noarch BUILD=1 ORIGPATH="$( pwd )" TMP=/tmp/build-automake PKG=/tmp/package-automake rm -rf $TMP $PKG mkdir -p $TMP $PKG cd ${TMP} tar xzf $ORIGPATH/source/automake*orig* cd automake* zcat $ORIGPATH/source/automake*diff* | patch -p1 ./configure --prefix=/usr make make install DESTDIR=$PKG mkdir -p $PKG/install install -m644 $ORIGPATH/slack-desc $PKG/install/ # Remove non versioned files ( cd ${PKG}/usr/bin rm -f automake aclocal ) cd $PKG chown -R root.bin usr/bin rm -rf usr/info makepkg -l y -c n /tmp/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz