wok-stable view openvas-administrator/receipt @ rev 5196

Added tag 3.0 for changeset ab092d8a7a8b
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 21:23:37 2010 +0200 (2010-03-28)
parents 4bbe52173714
children ad786a87b22e
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-administrator"
4 VERSION="0.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (administrator)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openvas.org/"
10 WGET_URL="http://wald.intevation.org/frs/download.php/686/$TARBALL"
11 DEPENDS="openvas-libraries"
12 BUILD_DEPENDS="openvas-libraries-dev openvas-libraries gnutls-dev cmake glib-dev"
13 CONFIG_FILES="/etc/openvas"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
20 -DLOCALSTATEDIR=/var
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 }