network/aria2: Updated for version 1.18.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-12 00:31:07 +07:00 committed by Robby Workman
parent fe7ce9acff
commit 2dfc760f96
2 changed files with 7 additions and 9 deletions

View File

@ -3,19 +3,17 @@
# Written by Marco Cecchetti <mrc.ildp@gmail.com> # Written by Marco Cecchetti <mrc.ildp@gmail.com>
PRGNAM=${PRGNAM:-aria2} PRGNAM=${PRGNAM:-aria2}
VERSION=${VERSION:-1.15.2} VERSION=${VERSION:-1.18.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
HTTPS=${HTTPS:-gnutls} HTTPS=${HTTPS:-gnutls}
XML=${XML:-libxml2} XML=${XML:-libxml2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -51,11 +49,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \ -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \

View File

@ -1,8 +1,8 @@
PRGNAM="aria2" PRGNAM="aria2"
VERSION="1.15.2" VERSION="1.18.1"
HOMEPAGE="http://aria2.sourceforge.net/" HOMEPAGE="http://aria2.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/aria2/aria2-1.15.2.tar.xz" DOWNLOAD="http://downloads.sourceforge.net/aria2/aria2-1.18.1.tar.xz"
MD5SUM="6118354dd39232c2b16e66ba4600920c" MD5SUM="603e61ba430dbcdcadfdc77569e4a682"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="c-ares" REQUIRES="c-ares"