# HG changeset patch # User Alexander Medvedev # Date 1270596390 0 # Node ID 5b51f26f07503377ec1bc78e5c2b0a0511ef4379 # Parent 1a5661e863c00aae6586494f0de589295291a51f Add aria2 diff -r 1a5661e863c0 -r 5b51f26f0750 aria2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aria2/receipt Tue Apr 06 23:26:30 2010 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="aria2" +VERSION="1.9.0" +CATEGORY="utilities" +SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support" +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://aria2.sourceforge.net/" +WGET_URL="http://downloads.sourceforge.net/project/aria2/stable/latest/$TARBALL" +BUILD_DEPENDS="zlib-dev gettext" +DEPENDS="zlib" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS \ + --enable-epoll --enable-threads=posix --with-libz \ + --without-sqlite3 --without-openssl && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +}