diff options
Diffstat (limited to 'network/uget/uget.SlackBuild')
-rw-r--r-- | network/uget/uget.SlackBuild | 15 |
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 \ |