# SliTaz package receipt. PACKAGE="acct" VERSION="6.6.4" CATEGORY="utilities" TAGS="analysis network utilities" SHORT_DESC="Utilities that report data about users logged on GNU/Linux." MAINTAINER="hackdorte@sapo.pt" LICENSE="GPL3" WEB_SITE="https://www.gnu.org/software/acct/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" DEPENDS="gcc-lib-base glibc" BUILD_DEPENDS="glibc-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $install/usr/sbin $fs/usr }