wok-current view axel/receipt @ rev 24132
Up tazinst (114)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:07:33 2021 +0000 (2021-10-23) |
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 }