wok annotate audit/receipt @ rev 19269

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 14:47:05 2016 +0300 (2016-07-04)
parents 380ffe05937a
children 11b5e93cb5f2
rev   line source
pascal@12907 1 # SliTaz package receipt.
pascal@12907 2
pascal@12907 3 PACKAGE="audit"
pascal@12907 4 VERSION="2.2.1"
pascal@12907 5 CATEGORY="misc"
pascal@12907 6 SHORT_DESC="System call auditing."
pascal@12907 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@12907 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12907 10 WEB_SITE="http://people.redhat.com/sgrubb/audit/"
pascal@12907 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@12907 12
pascal@12907 13 DEPENDS=""
pascal@12907 14 BUILD_DEPENDS="openldap-dev"
pascal@12907 15
pascal@12907 16 # Rules to configure and make the package.
pascal@12907 17 compile_rules()
pascal@12907 18 {
pascal@12907 19 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@12907 20 --mandir=/usr/share/man \
pascal@12907 21 --localstatedir=/var --sbindir=/sbin \
pascal@12907 22 $CONFIGURE_ARGS &&
pascal@12907 23 make &&
pascal@12907 24 make DESTDIR=$DESTDIR install
al@19269 25
al@19269 26 cook_compress_manpages
pascal@12907 27 }
pascal@12907 28
al@19269 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19269 30 genpkg_rules()
pascal@12907 31 {
pascal@12907 32 mkdir -p $fs/usr/lib
pascal@15000 33 cp -a $install/sbin $fs/
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15000 36 cp -a $install/etc $fs/
pascal@12907 37 chown -R root.root $fs/etc
pascal@12907 38 }