summaryrefslogtreecommitdiff
path: root/libraries/libetpan/libetpan.SlackBuild
diff options
context:
space:
mode:
authorTimothy Pollard <grainman.timp@gmail.com>2010-05-11 19:45:12 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:45:12 +0200
commitbfaf3362c846ebe5da3c6604e7f003940efdb9d1 (patch)
tree00c6e1d7c34fd4fc09d3146ca6a0f2d5476d6639 /libraries/libetpan/libetpan.SlackBuild
parent1bb05cbe59be4dedda15c7b71ab93c071356ffc9 (diff)
downloadslackbuilds-bfaf3362c846ebe5da3c6604e7f003940efdb9d1.tar.gz
libraries/libetpan: Updated for version 0.52
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 0ee2d90e94..6f363436b2 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