wok view axel/receipt @ rev 24207
updated perl-file-basedir (0.03 -> 0.09)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:40:31 2021 +0100 (2021-12-31) |
parents | 35292b022843 |
children | 0bf24f90afd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="axel"
4 VERSION="2.17.8"
5 CATEGORY="network"
6 TAGS="web internet"
7 SHORT_DESC="Download accelerator."
8 MAINTAINER="rocky@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/axel-download-accelerator/axel"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="openssl"
16 BUILD_DEPENDS="openssl-dev"
18 CONFIG_FILES="/etc/axelrc"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --disable-nls \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files axel axelrc
41 }