wok-6.x view openvas-scanner/receipt @ rev 23033

updated libgdiplus and libggdiplus-dev again (2.10 -> 6.0.4)
author Hans-G?nter Theisgen
date Wed Mar 04 07:21:48 2020 +0100 (2020-03-04)
parents 0f5139046539
children d7522d21c4d3
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-scanner"
4 VERSION="3.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (scanner)."
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/684/$TARBALL"
12 CONFIG_FILES="/var/lib/openvas /etc/openvas"
14 DEPENDS="openvas-libraries openssl"
15 BUILD_DEPENDS="libpcap libpcap-dev util-linux-uuid openvas-libraries \
16 openvas-libraries-dev pkg-config gnutls-dev glib-dev libgnutls"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --localstatedir=/var --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
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/var $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }
39 post_install()
40 {
41 [ -s "$1/var/lib/openvas/CA/cacert.pem" ] ||
42 chroot "$1/" /usr/sbin/openvas-mkcert <<EOT
45 $(. /etc/locale.conf ; echo ${LANG#*_})
46 $(cat /etc/TZ)
48 $(cat /etc/hostname)
50 EOT
51 }