wok-next view openvas-administrator/receipt @ rev 8922
Fix gob2: add bdep flex
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 01 02:33:54 2011 +0100 (2011-03-01) |
parents | 4bbe52173714 |
children | ad786a87b22e |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-administrator"
4 VERSION="0.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (administrator)."
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/686/$TARBALL"
11 DEPENDS="openvas-libraries"
12 BUILD_DEPENDS="openvas-libraries-dev openvas-libraries gnutls-dev cmake glib-dev"
13 CONFIG_FILES="/etc/openvas"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
20 -DLOCALSTATEDIR=/var
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 }