wok view acct/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 71360a13cd94
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 - https://ftp.gnu.org/gnu/$PACKAGE/ 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 }