wok-next view openvas-administrator/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 380ffe05937a
children
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 LICENSE="GPL2"
9 WEB_SITE="http://www.openvas.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL"
14 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
15 gnutls-dev cmake glib-dev"
17 compile_rules() {
18 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DSYSCONF_INSTALL_DIR=/etc \
23 -DLOCALSTATEDIR=/var \
24 . &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cp -a $install/usr/sbin $fs/usr
33 DEPENDS="openvas-libraries util-linux-uuid"
34 CONFIG_FILES="/etc/openvas"
35 }