wok-6.x view openvas-client/receipt @ rev 7154
Fixed virtualbox-ose to depend -a when installed. Also fixed 60-vboxguest.rules to not error if 'tazpkg reconfigure udev' is done.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 19:43:56 2010 +0000 (2010-11-06) |
parents | 04480205ad9b |
children | 652faf9e9594 |
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"
14 CONFIG_FILES="/etc/openvas"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS || return 1
23 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/etc $fs
34 }