wok annotate 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 (4 months ago)
parents 0bf24f90afd9
children
rev   line source
rocky@3543 1 # SliTaz package receipt.
rocky@3543 2
rocky@3543 3 PACKAGE="axel"
Hans-G?nter@24342 4 VERSION="2.17.11"
rocky@3543 5 CATEGORY="network"
Hans-G?nter@20733 6 TAGS="web internet"
rocky@3543 7 SHORT_DESC="Download accelerator."
rocky@3543 8 MAINTAINER="rocky@slitaz.org"
pascal@15001 9 LICENSE="GPL2"
pascal@20671 10 WEB_SITE="https://github.com/axel-download-accelerator/axel"
Hans-G?nter@20733 11
rocky@3543 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22523 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@22523 14
Hans-G?nter@20733 15 DEPENDS="openssl"
Hans-G?nter@20733 16 BUILD_DEPENDS="openssl-dev"
rocky@3543 17
Hans-G?nter@22523 18 CONFIG_FILES="/etc/axelrc"
Hans-G?nter@22523 19
pascal@25597 20 # What is the latest version available today?
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25597 24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 25 }
pascal@24055 26
rocky@3543 27 # Rules to configure and make the package.
rocky@3543 28 compile_rules()
rocky@3543 29 {
Hans-G?nter@22523 30 ./configure \
Hans-G?nter@22523 31 --prefix=/usr \
Hans-G?nter@22523 32 --disable-nls \
al@19269 33 $CONFIGURE_ARGS &&
al@19269 34 make &&
al@19269 35 make install DESTDIR=$DESTDIR
rocky@3543 36 }
rocky@3543 37
rocky@3543 38 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3543 39 genpkg_rules()
rocky@3543 40 {
al@19275 41 cook_copy_files axel axelrc
rocky@3543 42 }