wok annotate axel/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | 5ea0ce1cecc0 |
children | 343c093ad221 |
rev | line source |
---|---|
rocky@3543 | 1 # SliTaz package receipt. |
rocky@3543 | 2 |
rocky@3543 | 3 PACKAGE="axel" |
Hans-G?nter@24342 | 4 VERSION="2.17.11" |
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 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24055 | 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
rocky@3543 | 26 # Rules to configure and make the package. |
rocky@3543 | 27 compile_rules() |
rocky@3543 | 28 { |
Hans-G?nter@22523 | 29 ./configure \ |
Hans-G?nter@22523 | 30 --prefix=/usr \ |
Hans-G?nter@22523 | 31 --disable-nls \ |
al@19269 | 32 $CONFIGURE_ARGS && |
al@19269 | 33 make && |
al@19269 | 34 make install DESTDIR=$DESTDIR |
rocky@3543 | 35 } |
rocky@3543 | 36 |
rocky@3543 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3543 | 38 genpkg_rules() |
rocky@3543 | 39 { |
al@19275 | 40 cook_copy_files axel axelrc |
rocky@3543 | 41 } |