summaryrefslogtreecommitdiff
path: root/misc/cksfv/cksfv.SlackBuild
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-13 00:34:06 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:34:06 +0200
commitd89ab270c6b5c0f9f89d3da594df77eecb4d6393 (patch)
tree2835bb2b55044505af5b0d938c4aa670bfa3662e /misc/cksfv/cksfv.SlackBuild
parent30e2b66f688c34b4b9ae1d92dde17ab327e8e9bd (diff)
downloadslackbuilds-d89ab270c6b5c0f9f89d3da594df77eecb4d6393.tar.gz
misc/cksfv: Updated for version 1.3.14
Diffstat (limited to 'misc/cksfv/cksfv.SlackBuild')
-rw-r--r--misc/cksfv/cksfv.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild
index dd0b5bc737..c746fb3fc1 100644
--- a/misc/cksfv/cksfv.SlackBuild
+++ b/misc/cksfv/cksfv.SlackBuild
@@ -30,7 +30,7 @@
# No additional license terms
PRGNAM=cksfv
-VERSION=1.3.13
+VERSION=1.3.14
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,6 +43,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -85,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}