wok view openvas-manager/receipt @ rev 22829
nqc obfsproxy shiki-colors* trickle vmware-view-open-client: normalize $VERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 08 11:00:21 2020 +0100 (2020-02-08) |
parents | 86cbb0030041 |
children | bd7510903310 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.openvas.org/"
11 WGET_URL="http://wald.intevation.org/frs/download.php/829/$TARBALL"
12 CONFIG_FILES="/etc/openvas"
14 DEPENDS="openvas-libraries sqlite util-linux-uuid"
15 BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \
16 util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite sqlite-dev glib-dev \
17 libgnutls"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export CFLAGS="-Wno-error=unused-but-set-variable"
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
24 -DLOCALSTATEDIR=/var
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/etc $fs
34 cp -a $install/usr/sbin $fs/usr
35 }