wok-4.x annotate openvas-administrator/receipt @ rev 6502

Up: python-tempita to 0.5dev
author Julien Rabier <taziden@slitaz.org>
date Fri Oct 01 20:54:24 2010 +0000 (2010-10-01)
parents 4bbe52173714
children ad786a87b22e
rev   line source
pascal@4651 1 # SliTaz package receipt.
pascal@4651 2
pascal@4651 3 PACKAGE="openvas-administrator"
pascal@4651 4 VERSION="0.4.0"
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@4651 10 WGET_URL="http://wald.intevation.org/frs/download.php/686/$TARBALL"
pascal@4651 11 DEPENDS="openvas-libraries"
pascal@4651 12 BUILD_DEPENDS="openvas-libraries-dev openvas-libraries gnutls-dev cmake glib-dev"
pascal@4655 13 CONFIG_FILES="/etc/openvas"
pascal@4651 14
pascal@4651 15 # Rules to configure and make the package.
pascal@4651 16 compile_rules()
pascal@4651 17 {
pascal@4651 18 cd $src
pascal@4655 19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
pascal@4655 20 -DLOCALSTATEDIR=/var
pascal@4651 21 make &&
pascal@4651 22 make DESTDIR=$PWD/_pkg install
pascal@4651 23 }
pascal@4651 24
pascal@4651 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4651 26 genpkg_rules()
pascal@4651 27 {
pascal@4651 28 mkdir -p $fs/usr
pascal@4651 29 cp -a $_pkg/etc $fs
pascal@4651 30 cp -a $_pkg/usr/bin $fs/usr
pascal@4651 31 }
pascal@4651 32