network/aria2: Updated for version 1.8.0

This commit is contained in:
Marco Cecchetti 2010-05-13 00:35:35 +02:00 committed by Erik Hanson
parent 8747af343d
commit 569e75404c
2 changed files with 17 additions and 10 deletions

View File

@ -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}

View File

@ -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"