summaryrefslogtreecommitdiff
path: root/system/md5deep/md5deep.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-07-11 01:22:53 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-11 01:22:53 -0500
commit06ee3481f8e4723e3efae5dff32dc7ae621f9f7e (patch)
tree6cb263ccc364e81375530fd8b1d8799f26fa07e2 /system/md5deep/md5deep.SlackBuild
parent83eee6ea304c9db53e263b7c9d0ef6d883feca6f (diff)
downloadslackbuilds-06ee3481f8e4723e3efae5dff32dc7ae621f9f7e.tar.gz
system/md5deep: Updated for version 3.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/md5deep/md5deep.SlackBuild')
-rw-r--r--system/md5deep/md5deep.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/system/md5deep/md5deep.SlackBuild b/system/md5deep/md5deep.SlackBuild
index b34a07886c..8b35161c86 100644
--- a/system/md5deep/md5deep.SlackBuild
+++ b/system/md5deep/md5deep.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-#
+
# Slackware build script for md5deep
-#
+
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=md5deep
-VERSION=3.5.1
+VERSION=3.6
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
@@ -75,11 +73,17 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+# Manually strip, thanks to Oleg O. Chukaev.
+find $PKG | xargs file | grep -e "executable" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
gzip -9 $PKG/usr/man/man?/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install