wok-6.x annotate axel/receipt @ rev 23548
Up bcrelay (1.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 17:04:09 2020 +0000 (2020-04-06) |
parents | 36c11ae1b7bb |
children | 35292b022843 |
rev | line source |
---|---|
rocky@3543 | 1 # SliTaz package receipt. |
rocky@3543 | 2 |
rocky@3543 | 3 PACKAGE="axel" |
Hans-G?nter@22523 | 4 VERSION="2.17.6" |
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@22523 | 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22523 | 14 |
Hans-G?nter@20733 | 15 DEPENDS="openssl" |
Hans-G?nter@20733 | 16 BUILD_DEPENDS="openssl-dev" |
rocky@3543 | 17 |
Hans-G?nter@22523 | 18 CONFIG_FILES="/etc/axelrc" |
Hans-G?nter@22523 | 19 |
rocky@3543 | 20 # Rules to configure and make the package. |
rocky@3543 | 21 compile_rules() |
rocky@3543 | 22 { |
Hans-G?nter@22523 | 23 ./configure \ |
Hans-G?nter@22523 | 24 --prefix=/usr \ |
Hans-G?nter@22523 | 25 --disable-nls \ |
al@19269 | 26 $CONFIGURE_ARGS && |
al@19269 | 27 make && |
al@19269 | 28 make install DESTDIR=$DESTDIR |
rocky@3543 | 29 } |
rocky@3543 | 30 |
rocky@3543 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3543 | 32 genpkg_rules() |
rocky@3543 | 33 { |
al@19275 | 34 cook_copy_files axel axelrc |
rocky@3543 | 35 } |