wok annotate openvas-manager/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents df98a48adee2
children eecd62c54525
rev   line source
pascal@4652 1 # SliTaz package receipt.
pascal@4652 2
pascal@4652 3 PACKAGE="openvas-manager"
pascal@9316 4 VERSION="1.0.4"
pascal@4652 5 CATEGORY="network"
pascal@4652 6 SHORT_DESC="Network security scanner (manager)."
pascal@4652 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@4652 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22812 10 WEB_SITE="https://www.openvas.org/"
pascal@24972 11 WGET_URL="https://wald.intevation.org/frs/download.php/829/$TARBALL"
pascal@15000 12 CONFIG_FILES="/etc/openvas"
pascal@15000 13
pankso@12481 14 DEPENDS="openvas-libraries sqlite util-linux-uuid"
pascal@8938 15 BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \
pascal@20588 16 util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite sqlite-dev glib-dev \
pascal@20588 17 libgnutls"
pascal@4652 18
pascal@4652 19 # Rules to configure and make the package.
pascal@4652 20 compile_rules()
pascal@4652 21 {
pascal@12909 22 export CFLAGS="-Wno-error=unused-but-set-variable"
pascal@4655 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
pascal@4655 24 -DLOCALSTATEDIR=/var
pascal@4652 25 make &&
pascal@15000 26 make DESTDIR=$DESTDIR install
pascal@4652 27 }
pascal@4652 28
pascal@4652 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4652 30 genpkg_rules()
pascal@4652 31 {
pascal@4652 32 mkdir -p $fs/usr
pascal@15000 33 cp -a $install/etc $fs
pascal@15000 34 cp -a $install/usr/sbin $fs/usr
pascal@4652 35 }