diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-07-11 01:22:53 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-11 01:22:53 -0500 |
commit | 06ee3481f8e4723e3efae5dff32dc7ae621f9f7e (patch) | |
tree | 6cb263ccc364e81375530fd8b1d8799f26fa07e2 /system/md5deep/md5deep.SlackBuild | |
parent | 83eee6ea304c9db53e263b7c9d0ef6d883feca6f (diff) | |
download | slackbuilds-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.SlackBuild | 18 |
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 |