wok-stable view openvas-manager/receipt @ rev 4652

Add openvas-manager
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 27 11:41:11 2009 +0100 (2009-12-27)
parents
children 84b0d5965bb7
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-manager"
4 VERSION="0.9.8"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (manager)."
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/687/$TARBALL"
11 DEPENDS="openvas-libraries sqlite util-linux-ng-uuid"
12 BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config \
13 util-linux-ng-uuid-dev doxygen cmake gnutls sqlite sqlite-dev"
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 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 }