wok-6.x annotate openvas-administrator/receipt @ rev 12614

xfmpc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 09:52:13 2012 +0200 (2012-04-29)
parents 40297b2f1e08
children 781f09eb4bb3
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"
pankso@12481 11 DEPENDS="openvas-libraries util-linux-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