wok view openvas-client/receipt @ rev 4650

Add openvas-client
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 27 11:40:00 2009 +0100 (2009-12-27)
parents
children 413f698cf193
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-client"
4 VERSION="3.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (client)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openvas.org/"
10 WGET_URL="http://wald.intevation.org/frs/download.php/685/$TARBALL"
11 DEPENDS="openvas-libraries gtk+"
12 BUILD_DEPENDS="openvas-libraries openvas-libraries-dev \
13 libgd-dev libpng-dev pkg-config gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --sysconfdir=/etc \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS || return 1
22 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/etc $fs
33 }