wok annotate audit/receipt @ rev 18877
Up slitaz-base-files(298), slitaz-boot-scripts(422)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Feb 08 10:29:19 2016 +0200 (2016-02-08) |
parents | e9e7c1c5617e |
children | 7f39549720b8 |
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 cd $src |
pascal@12907 | 20 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@12907 | 21 --mandir=/usr/share/man \ |
pascal@12907 | 22 --localstatedir=/var --sbindir=/sbin \ |
pascal@12907 | 23 $CONFIGURE_ARGS && |
pascal@12907 | 24 make && |
pascal@12907 | 25 make DESTDIR=$DESTDIR install |
pascal@12907 | 26 } |
pascal@12907 | 27 |
pascal@12907 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 29 genpkg_rules() |
pascal@12907 | 30 { |
pascal@12907 | 31 mkdir -p $fs/usr/lib |
pascal@15000 | 32 cp -a $install/sbin $fs/ |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15000 | 35 cp -a $install/etc $fs/ |
pascal@12907 | 36 chown -R root.root $fs/etc |
pascal@12907 | 37 } |