wok view axel/receipt @ rev 25670

Up mediawiki (1.41.0), memcached (1.6.23), metasploit (6.3.56), modsecurity-apache (2.9.7), mutt (2.2.12), ncurses (6.4), nginx (1.25.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 17:20:49 2024 +0000 (8 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 }