wok-6.x view axel/receipt @ rev 9097

py3k-dev: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 21:49:02 2011 +0100 (2011-03-04)
parents 5a2f3102bcdd
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="axel"
4 VERSION="2.4"
5 CATEGORY="network"
6 SHORT_DESC="Download accelerator."
7 MAINTAINER="rocky@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://axel.alioth.debian.org"
10 WGET_URL="http://alioth.debian.org/frs/download.php/3015/$TARBALL"
11 CONFIG_FILES="/etc/axelrc"
12 TAGS="web internet"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --i18n=0 \
20 $CONFIGURE_ARGS &&
21 make &&
22 make install DESTDIR=$PWD/_pkg
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/etc $fs/
31 }