wok-6.x view acct/receipt @ rev 24782

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