wok-4.x view openvas-administrator/receipt @ rev 4655
openvas-administrator, openvas-manager: fix paths
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 27 18:13:37 2009 +0100 (2009-12-27) |
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 }