wok-4.x rev 5217

Add aria2
author Alexander Medvedev <devl547@gmail.com>
date Tue Apr 06 23:26:30 2010 +0000 (2010-04-06)
parents 1a5661e863c0
children cee530da64ea
files aria2/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/aria2/receipt	Tue Apr 06 23:26:30 2010 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="aria2"
     1.7 +VERSION="1.9.0"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://aria2.sourceforge.net/"
    1.13 +WGET_URL="http://downloads.sourceforge.net/project/aria2/stable/latest/$TARBALL"
    1.14 +BUILD_DEPENDS="zlib-dev gettext"
    1.15 +DEPENDS="zlib"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS \
    1.23 +	--enable-epoll --enable-threads=posix --with-libz \
    1.24 +	--without-sqlite3 --without-openssl &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +}