aboutsummaryrefslogtreecommitdiff
path: root/libraries/zziplib/zziplib.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-06-20 09:31:32 -0400
committerErik Hanson <erik@slackbuilds.org>2010-06-20 15:20:26 -0500
commit62d3547fb2cffc6f0c25e888ddc29eb63dd536b7 (patch)
tree4b09e342d744c97f98aee8e9664cb2b2a6b3c36d /libraries/zziplib/zziplib.SlackBuild
parent0a9a8dd70cebcca2645dc7102afff287121edbe8 (diff)
libraries/zziplib: Updated for version 0.13.59.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/zziplib/zziplib.SlackBuild')
-rw-r--r--libraries/zziplib/zziplib.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/libraries/zziplib/zziplib.SlackBuild b/libraries/zziplib/zziplib.SlackBuild
index 0ac800406924d..88adffaa9aa57 100644
--- a/libraries/zziplib/zziplib.SlackBuild
+++ b/libraries/zziplib/zziplib.SlackBuild
@@ -3,16 +3,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=zziplib
-VERSION=${VERSION:-0.13.58}
+VERSION=0.13.59
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -59,16 +57,16 @@ CFLAGS="$SLKCFLAGS" \
--enable-static=no \
--enable-sdl \
--with-zlib \
- --with-debug=no \
+ --without-debug \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \