wok annotate acct/receipt @ rev 19264
Compress manpages (in $install/usr/share/man/...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 00:54:49 2016 +0300 (2016-07-04) |
parents | 3885a83fd3f0 |
children | 11b5e93cb5f2 |
rev | line source |
---|---|
hackdorte@19186 | 1 # SliTaz package receipt. |
hackdorte@19186 | 2 |
hackdorte@19186 | 3 PACKAGE="acct" |
hackdorte@19186 | 4 VERSION="6.6.2" |
hackdorte@19186 | 5 CATEGORY="utilities" |
hackdorte@19186 | 6 SHORT_DESC="Utilities that report data about users logged on GNU/Linux." |
hackdorte@19186 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19186 | 8 LICENSE="GPL3" |
hackdorte@19186 | 9 GNU_MIRROR="http://ftp.gnu.org/gnu" |
hackdorte@19186 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hackdorte@19186 | 11 |
hackdorte@19186 | 12 WEB_SITE="http://savannah.gnu.org/projects/acct/" |
hackdorte@19186 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
hackdorte@19186 | 14 |
hackdorte@19186 | 15 TAGS="analysis network utilities" |
hackdorte@19186 | 16 |
hackdorte@19186 | 17 DEPENDS="gcc-lib-base glibc" |
hackdorte@19186 | 18 BUILD_DEPENDS="glibc-dev" |
hackdorte@19186 | 19 |
hackdorte@19186 | 20 # Rules to configure and make the package. |
hackdorte@19186 | 21 compile_rules() |
hackdorte@19186 | 22 { |
al@19264 | 23 ./configure \ |
al@19264 | 24 --prefix=/usr \ |
al@19264 | 25 $CONFIGURE_ARGS && |
al@19264 | 26 make $MAKEFLAGS && |
al@19264 | 27 make DESTDIR=$DESTDIR install |
al@19264 | 28 |
al@19264 | 29 cook_compress_manpages |
hackdorte@19186 | 30 } |
hackdorte@19186 | 31 |
hackdorte@19186 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19186 | 33 genpkg_rules() |
hackdorte@19186 | 34 { |
al@19264 | 35 mkdir -p $fs/usr/bin |
al@19264 | 36 cp -a $install/usr/bin/* $fs/usr/bin |
hackdorte@19186 | 37 |
al@19264 | 38 mkdir -p $fs/usr/sbin |
al@19264 | 39 cp -a $install/usr/sbin/* $fs/usr/sbin |
hackdorte@19186 | 40 |
al@19264 | 41 mkdir -p $fs/usr/share |
al@19264 | 42 cp -a $install/usr/share/* $fs/usr/share |
hackdorte@19186 | 43 } |