wok-next annotate 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 |
rev | line source |
---|---|
rocky@3543 | 1 # SliTaz package receipt. |
rocky@3543 | 2 |
rocky@3543 | 3 PACKAGE="axel" |
rocky@3543 | 4 VERSION="2.4" |
rocky@3543 | 5 CATEGORY="network" |
rocky@3543 | 6 SHORT_DESC="Download accelerator." |
rocky@3543 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@3543 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rocky@3543 | 9 WEB_SITE="http://axel.alioth.debian.org" |
rocky@3543 | 10 WGET_URL="http://alioth.debian.org/frs/download.php/3015/$TARBALL" |
rocky@3543 | 11 CONFIG_FILES="/etc/axelrc" |
rocky@3543 | 12 |
rocky@3543 | 13 # Rules to configure and make the package. |
rocky@3543 | 14 compile_rules() |
rocky@3543 | 15 { |
rocky@3543 | 16 cd $src |
rocky@3543 | 17 ./configure --prefix=/usr \ |
rocky@3543 | 18 --i18n=0 \ |
rocky@3543 | 19 $CONFIGURE_ARGS && |
rocky@3543 | 20 make && |
rocky@3543 | 21 make install DESTDIR=$PWD/_pkg |
rocky@3543 | 22 } |
rocky@3543 | 23 |
rocky@3543 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3543 | 25 genpkg_rules() |
rocky@3543 | 26 { |
rocky@3543 | 27 mkdir -p $fs/usr |
rocky@3543 | 28 cp -a $_pkg/usr/bin $fs/usr |
rocky@3543 | 29 cp -a $_pkg/etc $fs/ |
rocky@3543 | 30 } |