wok annotate axel/receipt @ rev 17145

libnxml: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 12:55:03 2014 +0200 (2014-09-10)
parents c616ce6b7873
children 7f39549720b8
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"
pascal@15001 8 LICENSE="GPL2"
rocky@3543 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@3543 10 WEB_SITE="http://axel.alioth.debian.org"
rocky@3543 11 WGET_URL="http://alioth.debian.org/frs/download.php/3015/$TARBALL"
rocky@3543 12 CONFIG_FILES="/etc/axelrc"
jozee@3564 13 TAGS="web internet"
rocky@3543 14
rocky@3543 15 # Rules to configure and make the package.
rocky@3543 16 compile_rules()
rocky@3543 17 {
rocky@3543 18 cd $src
rocky@3543 19 ./configure --prefix=/usr \
rocky@3543 20 --i18n=0 \
rocky@3543 21 $CONFIGURE_ARGS &&
rocky@3543 22 make &&
pascal@15001 23 make install DESTDIR=$DESTDIR
rocky@3543 24 }
rocky@3543 25
rocky@3543 26 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3543 27 genpkg_rules()
rocky@3543 28 {
rocky@3543 29 mkdir -p $fs/usr
pascal@15001 30 cp -a $install/usr/bin $fs/usr
pascal@15001 31 cp -a $install/etc $fs/
rocky@3543 32 }