wok-6.x annotate acct/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 205455ed09ce
children
rev   line source
hackdorte@19186 1 # SliTaz package receipt.
hackdorte@19186 2
hackdorte@19186 3 PACKAGE="acct"
Hans-G?nter@22464 4 VERSION="6.6.4"
hackdorte@19186 5 CATEGORY="utilities"
Hans-G?nter@22464 6 TAGS="analysis network utilities"
hackdorte@19186 7 SHORT_DESC="Utilities that report data about users logged on GNU/Linux."
hackdorte@19186 8 MAINTAINER="hackdorte@sapo.pt"
hackdorte@19186 9 LICENSE="GPL3"
Hans-G?nter@22464 10 WEB_SITE="https://www.gnu.org/software/acct/"
al@19275 11
hackdorte@19186 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
hackdorte@19186 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
hackdorte@19186 14
hackdorte@19186 15 DEPENDS="gcc-lib-base glibc"
hackdorte@19186 16 BUILD_DEPENDS="glibc-dev"
hackdorte@19186 17
pascal@24336 18 # What is the latest version available today?
pascal@24336 19 current_version()
pascal@24336 20 {
pascal@24336 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 23 }
pascal@24336 24
hackdorte@19186 25 # Rules to configure and make the package.
hackdorte@19186 26 compile_rules()
hackdorte@19186 27 {
Hans-G?nter@22464 28 ./configure \
Hans-G?nter@22464 29 --prefix=/usr \
al@19264 30 $CONFIGURE_ARGS &&
al@19264 31 make $MAKEFLAGS &&
al@19264 32 make DESTDIR=$DESTDIR install
hackdorte@19186 33 }
hackdorte@19186 34
hackdorte@19186 35 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@19186 36 genpkg_rules()
hackdorte@19186 37 {
al@19275 38 mkdir -p $fs/usr
al@19275 39 cp -a $install/usr/bin $install/usr/sbin $fs/usr
hackdorte@19186 40 }