wok-6.x annotate audit/receipt @ rev 14330

Up: connman-dev (1.12)
author Dominique Corbex <domcox@slitaz.org>
date Fri Apr 12 19:57:58 2013 +0200 (2013-04-12)
parents
children 380ffe05937a
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@12907 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12907 9 WEB_SITE="http://people.redhat.com/sgrubb/audit/"
pascal@12907 10 WGET_URL="${WEB_SITE}$TARBALL"
pascal@12907 11
pascal@12907 12 DEPENDS=""
pascal@12907 13 BUILD_DEPENDS="openldap-dev"
pascal@12907 14
pascal@12907 15 # Rules to configure and make the package.
pascal@12907 16 compile_rules()
pascal@12907 17 {
pascal@12907 18 cd $src
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
pascal@12907 25 }
pascal@12907 26
pascal@12907 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12907 28 genpkg_rules()
pascal@12907 29 {
pascal@12907 30 mkdir -p $fs/usr/lib
pascal@12907 31 cp -a $_pkg/sbin $fs/
pascal@12907 32 cp -a $_pkg/usr/bin $fs/usr
pascal@12907 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@12907 34 cp -a $_pkg/etc $fs/
pascal@12907 35 chown -R root.root $fs/etc
pascal@12907 36 }