wok rev 3543

Add axel tools
author Liu Peng <rocky@slitaz.org>
date Tue Jun 23 11:52:01 2009 +0800 (2009-06-23)
parents b831574060d2
children a79556b6da5a
files axel/description.txt axel/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/axel/description.txt	Tue Jun 23 11:52:01 2009 +0800
     1.3 @@ -0,0 +1,3 @@
     1.4 +Axel tries to accelerate downloads by using multiple connections (possibly to multiple servers) 
     1.5 +for one download. Because of its size, it might be very useful on bootdisks or other small systems 
     1.6 +as a wget replacement.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/axel/receipt	Tue Jun 23 11:52:01 2009 +0800
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="axel"
     2.7 +VERSION="2.4"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Download accelerator."
    2.10 +MAINTAINER="rocky@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://axel.alioth.debian.org"
    2.13 +WGET_URL="http://alioth.debian.org/frs/download.php/3015/$TARBALL"
    2.14 +CONFIG_FILES="/etc/axelrc"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +    cd $src
    2.20 +    ./configure --prefix=/usr \
    2.21 +        --i18n=0 \
    2.22 +        $CONFIGURE_ARGS &&
    2.23 +    make &&
    2.24 +    make install DESTDIR=$PWD/_pkg
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +   mkdir -p $fs/usr
    2.31 +   cp -a $_pkg/usr/bin $fs/usr
    2.32 +   cp -a $_pkg/etc $fs/
    2.33 +}