diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:23:52 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:23:52 +0200 |
commit | fb43a7df84ab0fa62cfd2fe61532ebc792eecd4a (patch) | |
tree | c6b26c5c79b03ffef8ac06b466a375d0f803d4d1 /libraries/libetpan/libetpan.SlackBuild | |
parent | 2b0645901635c5f02c0a77c23ef5d91e30326a8b (diff) |
libraries/libetpan: Updated for version 0.57
Diffstat (limited to 'libraries/libetpan/libetpan.SlackBuild')
-rw-r--r-- | libraries/libetpan/libetpan.SlackBuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild index 6f363436b2f1..8af5b9437343 100644 --- a/libraries/libetpan/libetpan.SlackBuild +++ b/libraries/libetpan/libetpan.SlackBuild @@ -2,13 +2,13 @@ # Slackware build script for libetpan # Written by Erik Hanson erik@slackbuilds.org -# Updated to 0.52 by Timothy Pollard <grainman.timp@gmail.com> PRGNAM=libetpan -VERSION=0.52 +VERSION=0.57 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -20,11 +20,13 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -eu + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -33,19 +35,17 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var \ - || exit 1 - -make || exit 1 -make install DESTDIR=$PKG || exit 1 + --localstatedir=/var/lib \ + --disable-static \ + --build=$ARCH-slackware-linux -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +make +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYRIGHT ChangeLog INSTALL NEWS TODO doc/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYRIGHT ChangeLog NEWS README doc/ \ + $PKG/usr/doc/$PRGNAM-$VERSION +rm -f $PKG/usr/doc/$PRGNAM-$VERSION/doc/Makefile* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |