wok view axel/receipt @ rev 25597

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 11:24:03 2023 +0000 (10 months ago)
parents 0bf24f90afd9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="axel"
4 VERSION="2.17.11"
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --disable-nls \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files axel axelrc
42 }