#!/bin/sh CWD=`pwd` TMP=/tmp PKG=$TMP/package-beecrypt VERSION=3.1.0 ARCH=alpha BUILD=1 TARGET=$ARCH-alphaslack-linux rm -rf $PKG mkdir -p $PKG ( cd $TMP rm -rf beecrypt-$VERSION tar xjf $CWD/beecrypt-$VERSION.tar.bz2 cd beecrypt-$VERSION ./configure \ --prefix=/usr \ --enable-shared=no \ --enable-static=yes \ --with-cpu=ev67 \ --with-arch=ev67 \ --with-pic \ $TARGET make || exit make install DESTDIR=$PKG strip -g $PKG/usr/lib/*.a # Build the package: cd $PKG makepkg -l y -c n $TMP/beecrypt-$VERSION-$ARCH-$BUILD.tgz ) 2>&1 | tee $TMP/beecrypt.build.log