wok-next view openvas-manager/receipt @ rev 13871
Up asterisk (1.11.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 14 22:11:22 2013 +0100 (2013-01-14) |
parents | 70186d6ec4a0 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-manager"
4 VERSION="1.0.4"
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/829/$TARBALL"
11 DEPENDS="openvas-libraries sqlite util-linux-uuid"
12 BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \
13 util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite sqlite-dev glib-dev"
14 CONFIG_FILES="/etc/openvas"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export CFLAGS="-Wno-error=unused-but-set-variable"
21 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
22 -DLOCALSTATEDIR=/var
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/sbin $fs/usr
33 }