wok annotate openvas-administrator/receipt @ rev 12115

Fix usb-modeswitch-data build
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 09:31:10 2012 +0100 (2012-03-13)
parents 93e0de2fca4e
children 73641efed1cc
rev   line source
pascal@4651 1 # SliTaz package receipt.
pascal@4651 2
pascal@4651 3 PACKAGE="openvas-administrator"
pascal@9318 4 VERSION="1.0.1"
pascal@4651 5 CATEGORY="network"
pascal@4651 6 SHORT_DESC="Network security scanner (administrator)."
pascal@4651 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4651 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4651 9 WEB_SITE="http://www.openvas.org/"
pascal@9318 10 WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL"
pascal@9319 11 DEPENDS="openvas-libraries util-linux-ng-uuid"
pascal@8971 12 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
pascal@8971 13 gnutls-dev cmake glib-dev"
pascal@4655 14 CONFIG_FILES="/etc/openvas"
pascal@4651 15
pascal@4651 16 # Rules to configure and make the package.
pascal@4651 17 compile_rules()
pascal@4651 18 {
pascal@4651 19 cd $src
pascal@4655 20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
pascal@4655 21 -DLOCALSTATEDIR=/var
pascal@4651 22 make &&
pascal@4651 23 make DESTDIR=$PWD/_pkg install
pascal@4651 24 }
pascal@4651 25
pascal@4651 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4651 27 genpkg_rules()
pascal@4651 28 {
pascal@4651 29 mkdir -p $fs/usr
pascal@4651 30 cp -a $_pkg/etc $fs
pascal@9318 31 cp -a $_pkg/usr/sbin $fs/usr
pascal@4651 32 }
pascal@4651 33