wok view axel/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (19 months ago)
parents 5ea0ce1cecc0
children 343c093ad221
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 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 }