summaryrefslogtreecommitdiff
path: root/network/tucan/tucan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/tucan/tucan.SlackBuild')
-rw-r--r--network/tucan/tucan.SlackBuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/network/tucan/tucan.SlackBuild b/network/tucan/tucan.SlackBuild
index f812894e89..0b3b19e14c 100644
--- a/network/tucan/tucan.SlackBuild
+++ b/network/tucan/tucan.SlackBuild
@@ -1,11 +1,11 @@
#!/bin/sh
# Slackware build script for tucan
-# Written by Nai (bluedbs at gmail dot com)
+# Written by Nai (bluedbs@gmail.com)
PRGNAM=tucan
-VERSION=${VERSION:-0.3.7}
-ARCH=${ARCH:-i486}
+VERSION=${VERSION:-0.3.8}
+ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -14,14 +14,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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
rm -rf $PKG
@@ -57,4 +49,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}