# HG changeset patch # User Liu Peng # Date 1245729121 -28800 # Node ID 5a2f3102bcdd0314cc914f885b4d18df2447824b # Parent b831574060d24ef6381e1d99c8b09d1433de64f8 Add axel tools diff -r b831574060d2 -r 5a2f3102bcdd axel/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/axel/description.txt Tue Jun 23 11:52:01 2009 +0800 @@ -0,0 +1,3 @@ +Axel tries to accelerate downloads by using multiple connections (possibly to multiple servers) +for one download. Because of its size, it might be very useful on bootdisks or other small systems +as a wget replacement. diff -r b831574060d2 -r 5a2f3102bcdd axel/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/axel/receipt Tue Jun 23 11:52:01 2009 +0800 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="axel" +VERSION="2.4" +CATEGORY="network" +SHORT_DESC="Download accelerator." +MAINTAINER="rocky@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://axel.alioth.debian.org" +WGET_URL="http://alioth.debian.org/frs/download.php/3015/$TARBALL" +CONFIG_FILES="/etc/axelrc" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --i18n=0 \ + $CONFIGURE_ARGS && + make && + make install DESTDIR=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/etc $fs/ +}