summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/zisofs-tools/zisofs-tools.SlackBuild23
-rw-r--r--system/zisofs-tools/zisofs-tools.info8
2 files changed, 15 insertions, 16 deletions
diff --git a/system/zisofs-tools/zisofs-tools.SlackBuild b/system/zisofs-tools/zisofs-tools.SlackBuild
index d32ccb5c56..6193d912f1 100644
--- a/system/zisofs-tools/zisofs-tools.SlackBuild
+++ b/system/zisofs-tools/zisofs-tools.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zisofs-tools
-# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=zisofs-tools
-VERSION=1.0.7
+VERSION=1.0.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -40,12 +39,14 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -53,12 +54,10 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --program-prefix="" \
- --program-suffix="" \
- || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make INSTALLROOT=$PKG install || exit 1
+make
+make INSTALLROOT=$PKG install
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
diff --git a/system/zisofs-tools/zisofs-tools.info b/system/zisofs-tools/zisofs-tools.info
index 4af538b8ab..383ef44db7 100644
--- a/system/zisofs-tools/zisofs-tools.info
+++ b/system/zisofs-tools/zisofs-tools.info
@@ -1,8 +1,8 @@
PRGNAM="zisofs-tools"
-VERSION="1.0.7"
+VERSION="1.0.8"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/fs/zisofs/"
-DOWNLOAD="http://www.kernel.org/pub/linux/utils/fs/zisofs/zisofs-tools-1.0.7.tar.bz2"
-MD5SUM="ce2abdd5bd139242b4a3e0abb42928d4"
+DOWNLOAD="http://www.kernel.org/pub/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2"
+MD5SUM="2d0ed8c9a1f60b45f949b136f9be1f6c"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="rworkman"
+APPROVED="dsomero"