wok-next view openvas-administrator/receipt @ rev 9498
Up: slitaz-configs (4.2) New theme and stuff (mabe use for 4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 03:32:49 2011 +0200 (2011-04-06) |
parents | 93e0de2fca4e |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-administrator"
4 VERSION="1.0.1"
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/828/$TARBALL"
11 DEPENDS="openvas-libraries util-linux-ng-uuid"
12 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
13 gnutls-dev cmake glib-dev"
14 CONFIG_FILES="/etc/openvas"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
21 -DLOCALSTATEDIR=/var
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/sbin $fs/usr
32 }