wok annotate axel/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 6e8b1bcb30e2 |
children | 2c876a16096d |
rev | line source |
---|---|
rocky@3543 | 1 # SliTaz package receipt. |
rocky@3543 | 2 |
rocky@3543 | 3 PACKAGE="axel" |
Hans-G?nter@20733 | 4 VERSION="2.16.1" |
rocky@3543 | 5 CATEGORY="network" |
Hans-G?nter@20733 | 6 TAGS="web internet" |
rocky@3543 | 7 SHORT_DESC="Download accelerator." |
rocky@3543 | 8 MAINTAINER="rocky@slitaz.org" |
pascal@15001 | 9 LICENSE="GPL2" |
pascal@20671 | 10 WEB_SITE="https://github.com/axel-download-accelerator/axel" |
Hans-G?nter@20733 | 11 |
rocky@3543 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20733 | 13 WGET_URL="http://github.com/frs/axel-download-accelerator/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
rocky@3543 | 14 CONFIG_FILES="/etc/axelrc" |
Hans-G?nter@20733 | 15 DEPENDS="openssl" |
Hans-G?nter@20733 | 16 BUILD_DEPENDS="openssl-dev" |
rocky@3543 | 17 |
rocky@3543 | 18 # Rules to configure and make the package. |
rocky@3543 | 19 compile_rules() |
rocky@3543 | 20 { |
Hans-G?nter@20733 | 21 ./configure \ |
Hans-G?nter@20733 | 22 --prefix=/usr \ |
Hans-G?nter@20733 | 23 --disable-nls \ |
al@19269 | 24 $CONFIGURE_ARGS && |
al@19269 | 25 make && |
al@19269 | 26 make install DESTDIR=$DESTDIR |
rocky@3543 | 27 } |
rocky@3543 | 28 |
rocky@3543 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3543 | 30 genpkg_rules() |
rocky@3543 | 31 { |
al@19275 | 32 cook_copy_files axel axelrc |
rocky@3543 | 33 } |