wok-4.x view openvas-administrator/receipt @ rev 4651
Add openvas-administrator
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 27 11:40:59 2009 +0100 (2009-12-27) |
parents | |
children | 84b0d5965bb7 |
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/etc $fs
28 cp -a $_pkg/usr/bin $fs/usr
29 }