diff options
-rw-r--r-- | network/aria2/aria2.SlackBuild | 17 | ||||
-rw-r--r-- | network/aria2/aria2.info | 10 |
2 files changed, 17 insertions, 10 deletions
diff --git a/network/aria2/aria2.SlackBuild b/network/aria2/aria2.SlackBuild index 4cb4fee37d..5890830c34 100644 --- a/network/aria2/aria2.SlackBuild +++ b/network/aria2/aria2.SlackBuild @@ -3,7 +3,7 @@ # Written by Marco Cecchetti <mrc.ildp@gmail.com> PRGNAM=${PRGNAM:-aria2} -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.8.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -20,12 +20,16 @@ OUTPUT=${OUTPUT:-/tmp} [ "$XML" = "libexpat" ] && XMLOUT="--without-libxml2" if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + set -e rm -rf $PKG @@ -49,6 +53,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux \ ${SLOUT} \ ${XMLOUT} @@ -77,4 +82,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/aria2/aria2.info b/network/aria2/aria2.info index af3153c160..6ec6ccfc27 100644 --- a/network/aria2/aria2.info +++ b/network/aria2/aria2.info @@ -1,8 +1,10 @@ PRGNAM="aria2" -VERSION="1.4.0" +VERSION="1.8.0" HOMEPAGE="http://aria2.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/aria2/aria2-1.4.0.tar.bz2" -MD5SUM="dd5f608fb492afd1e4868a3833779c86" +DOWNLOAD="http://downloads.sourceforge.net/aria2/aria2-1.8.0.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="13944c95529de6846f0ab9ba09c53e3e" +MD5SUM_x86_64="" MAINTAINER="Marco Cecchetti" EMAIL="mrc.ildp@gmail.com" -APPROVED="chess" +APPROVED="Erik Hanson" |