wok-next annotate 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
rev   line source
pascal@4651 1 # SliTaz package receipt.
pascal@4651 2
pascal@4651 3 PACKAGE="openvas-administrator"
pascal@9318 4 VERSION="1.0.1"
pascal@4651 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Network security scanner (administrator)"
pascal@4651 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://www.openvas.org/"
al@21020 10
pascal@4651 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@9318 12 WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL"
pascal@15000 13
pascal@8971 14 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
pascal@8971 15 gnutls-dev cmake glib-dev"
pascal@4651 16
al@21020 17 compile_rules() {
pascal@12908 18 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
al@21020 19
al@21020 20 cmake \
al@21020 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@21020 22 -DSYSCONF_INSTALL_DIR=/etc \
al@21020 23 -DLOCALSTATEDIR=/var \
al@21020 24 . &&
pascal@4651 25 make &&
al@21020 26 make DESTDIR=$install install
pascal@4651 27 }
pascal@4651 28
al@21020 29 genpkg_rules() {
pascal@4651 30 mkdir -p $fs/usr
pascal@15000 31 cp -a $install/etc $fs
pascal@15000 32 cp -a $install/usr/sbin $fs/usr
al@21020 33 DEPENDS="openvas-libraries util-linux-uuid"
al@21020 34 CONFIG_FILES="/etc/openvas"
pascal@4651 35 }