diff options
Diffstat (limited to 'misc/ciso/ciso.SlackBuild')
-rw-r--r-- | misc/ciso/ciso.SlackBuild | 7 |
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 |