summaryrefslogtreecommitdiff
path: root/misc/ciso/ciso.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-03 12:22:44 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-04 22:06:47 -0500
commit2289bcebc6a94ee5b09e94c594b4b4ea75bab2ae (patch)
tree8467f8ae2d29650bb998c60029f816424191cc33 /misc/ciso/ciso.SlackBuild
parent01cc03147bc910b501b307a76ca3121546d2e2b4 (diff)
downloadslackbuilds-2289bcebc6a94ee5b09e94c594b4b4ea75bab2ae.tar.gz
misc/ciso: Fixed download link and minor build tweaks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/ciso/ciso.SlackBuild')
-rw-r--r--misc/ciso/ciso.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/ciso/ciso.SlackBuild b/misc/ciso/ciso.SlackBuild
index d2c8960c42..f958a4a480 100644
--- a/misc/ciso/ciso.SlackBuild
+++ b/misc/ciso/ciso.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=ciso
VERSION=1.0.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,8 +52,10 @@ fi
set -e
-mkdir -p $TMP $PKG $PKG/usr/bin $OUTPUT
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -67,6 +69,7 @@ find . \
patch -p0 < $CWD/ciso.h.patch
patch -p0 < $CWD/fix_includes.patch
+mkdir -p $PKG/usr/bin
make CC="gcc $SLKCFLAGS"
make install DESTDIR=$PKG