diff options
author | David Miller <dave@frop.net> | 2012-12-16 17:43:23 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:28 -0500 |
commit | 2f262f5d7d3d7849fb2670e39fd2814a38157b78 (patch) | |
tree | 7c8c824838c0a80600b1f1a6ef43a227f0b982f5 /network/iodine/iodine.SlackBuild | |
parent | 1618a0a41de14cc9b09bf1f16eab5c8a6c27c1a9 (diff) | |
download | slackbuilds-2f262f5d7d3d7849fb2670e39fd2814a38157b78.tar.gz |
network/iodine: Updated for version 0.6.0_rc1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/iodine/iodine.SlackBuild')
-rw-r--r-- | network/iodine/iodine.SlackBuild | 17 |
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 . \ |