aboutsummaryrefslogtreecommitdiff
path: root/system/md5deep/md5deep.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:45:31 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:45:31 +0200
commit42963326e0c86556ccfb590c0f5e625b77c0b1e7 (patch)
tree0029c410b7535851060a2e5fc121b325eec2ffb9 /system/md5deep/md5deep.SlackBuild
parenta4c8676162b40aad980d36b5d11248669e43f690 (diff)
system/md5deep: Updated for version 3.1
Diffstat (limited to 'system/md5deep/md5deep.SlackBuild')
-rw-r--r--system/md5deep/md5deep.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/md5deep/md5deep.SlackBuild b/system/md5deep/md5deep.SlackBuild
index 2c77628df021f..3dfae2d0c64e7 100644
--- a/system/md5deep/md5deep.SlackBuild
+++ b/system/md5deep/md5deep.SlackBuild
@@ -1,11 +1,10 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for md5deep
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=md5deep
-VERSION=2.0.1
-SUBVER=001
+VERSION=3.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -23,16 +22,16 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-$SUBVER.tar.gz || exit 1
-cd $PRGNAM-$VERSION-$SUBVER || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" ./configure --prefix=/usr || exit 1
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+CFLAGS="$SLKCFLAGS" ./configure --prefix=/usr
+make
+make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install