aboutsummaryrefslogtreecommitdiff
path: root/libraries/zziplib/zziplib.SlackBuild
diff options
context:
space:
mode:
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 \