summaryrefslogtreecommitdiff
path: root/network/iodine/iodine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/iodine/iodine.SlackBuild')
-rw-r--r--network/iodine/iodine.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/network/iodine/iodine.SlackBuild b/network/iodine/iodine.SlackBuild
index 3b9646ae22..24ae93e082 100644
--- a/network/iodine/iodine.SlackBuild
+++ b/network/iodine/iodine.SlackBuild
@@ -6,16 +6,16 @@
# This script is released into the public domain
PRGNAM=iodine
-VERSION=${VERSION:-0.5.2}
+VERSION=${VERSION:-0.6.0_rc1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRCVERSION=$(echo $VERSION |tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -37,20 +37,17 @@ elif [ "$ARCH" = "x86_64" ]; then
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
-fi
+fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
-#patch that lets you forward real queries to ip other than localhost
-#http://dev.kryo.se/iodine/attachment/ticket/71/iodine-0.5.2.bind_ip.patch
-#patch -p1 < $CWD/iodine-0.5.2.bind_ip.patch
chown -R root:root .
find . \