wok-next view openvas-client/receipt @ rev 18421
emelfm2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 11:22:02 2015 +0200 (2015-09-21) |
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 }