wok view openvas-client/receipt @ rev 25364

cpige: apply gibor patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 14:38:50 2022 +0000 (2022-07-28)
parents bd7510903310
children eecd62c54525
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-client"
4 VERSION="3.0.1"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (client)."
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="https://wald.intevation.org/frs/download.php/757/$TARBALL"
12 CONFIG_FILES="/etc/openvas"
14 DEPENDS="openvas-libraries gtk+"
15 BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \
16 libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev libgnutls"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Update for gnutls
22 patch -p1 -i $stuff/gnutls.2.2.u
24 ./configure --prefix=/usr --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS || return 1
27 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/etc $fs
38 }