aboutsummaryrefslogtreecommitdiff
path: root/libraries/libetpan/libetpan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libetpan/libetpan.SlackBuild')
-rw-r--r--libraries/libetpan/libetpan.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild
index 0ee2d90e94d3c..6f363436b2f15 100644
--- a/libraries/libetpan/libetpan.SlackBuild
+++ b/libraries/libetpan/libetpan.SlackBuild
@@ -2,13 +2,14 @@
# 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.49
+VERSION=0.52
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -38,8 +39,10 @@ CFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+( 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
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYRIGHT ChangeLog INSTALL NEWS TODO doc/ $PKG/usr/doc/$PRGNAM-$VERSION