aboutsummaryrefslogtreecommitdiff
path: root/system/isomaster/isomaster.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:45:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:45:25 +0200
commitcbcc21839efaec71e45e50621549ffad4605bf01 (patch)
tree3aaacdb9b526772cae9bf3a9a9bec74697bfa7c8 /system/isomaster/isomaster.SlackBuild
parent4935871150e0366a1bf658b44c2a7ca2cc0e2e84 (diff)
system/isomaster: Updated for version 1.3.5
Diffstat (limited to 'system/isomaster/isomaster.SlackBuild')
-rw-r--r--system/isomaster/isomaster.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/system/isomaster/isomaster.SlackBuild b/system/isomaster/isomaster.SlackBuild
index 901ce17b7378d..66b1716c5bd15 100644
--- a/system/isomaster/isomaster.SlackBuild
+++ b/system/isomaster/isomaster.SlackBuild
@@ -4,7 +4,7 @@
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=isomaster
-VERSION=1.3.1
+VERSION=1.3.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -20,19 +20,21 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -eu
+
rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# No autotools, do manually.
-patch -p0 < $CWD/Makefile.patch || exit 1
-CFLAGS="$SLKCFLAGS" make || exit 1
-make install DESTDIR=$PKG || exit 1
+patch -p0 < $CWD/Makefile.patch
+CFLAGS="$SLKCFLAGS" make
+make install DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/*
gzip -9 $PKG/usr/man/man?/*