summaryrefslogtreecommitdiff
path: root/network/uget/uget.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-05-31 23:04:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:39 -0400
commit088aa691c907d8e40462b13f8f8c1a8be6e9d979 (patch)
treeeae6b53df1fe126c560ae6e6dc48ea4ae1bb0eac /network/uget/uget.SlackBuild
parent62ab834a610c6522440c4ce31a930c8c90151e08 (diff)
downloadslackbuilds-088aa691c907d8e40462b13f8f8c1a8be6e9d979.tar.gz
network/uget: Updated for version 1.6.4_1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/uget/uget.SlackBuild')
-rw-r--r--network/uget/uget.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild
index b4c577eaaa..d3251d21b1 100644
--- a/network/uget/uget.SlackBuild
+++ b/network/uget/uget.SlackBuild
@@ -4,7 +4,7 @@
# Written by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
PRGNAM=uget
-VERSION=1.6.1
+VERSION=1.6.4_1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,15 +37,24 @@ fi
set -e
+# AFAIK, pkgtools still get confused by - in version number...
+SRCVER=${VERSION/_/-}
+
+# Grr, and the tarball's filename doesn't match its top-level dir.
+DIRVER=$( echo $SRCVER | sed 's/-.*//' )
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$DIRVER
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Prevent segfaults in Curl_resolv_timeout()
+patch -p1 < $CWD/curlopt_nosignal.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \