wok-next diff axel/receipt @ rev 3543
Add axel tools
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Jun 23 11:52:01 2009 +0800 (2009-06-23) |
parents | |
children | c616ce6b7873 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/axel/receipt Tue Jun 23 11:52:01 2009 +0800 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="axel" 1.7 +VERSION="2.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Download accelerator." 1.10 +MAINTAINER="rocky@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://axel.alioth.debian.org" 1.13 +WGET_URL="http://alioth.debian.org/frs/download.php/3015/$TARBALL" 1.14 +CONFIG_FILES="/etc/axelrc" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr \ 1.21 + --i18n=0 \ 1.22 + $CONFIGURE_ARGS && 1.23 + make && 1.24 + make install DESTDIR=$PWD/_pkg 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/etc $fs/ 1.33 +}