wok-next view openvas-client/receipt @ rev 19949
sane-backends: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 12:17:41 2017 +0200 (2017-10-16) |
parents | 73641efed1cc |
children | db12822e1407 |
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="http://www.openvas.org/"
11 WGET_URL="http://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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS || return 1
25 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/etc $fs
36 }