wok-6.x view openvas-administrator/receipt @ rev 9034

Fixed gtkperf. It needs DESTDIR=DESTDIR in order to work.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 17:27:09 2011 +0000 (2011-03-03)
parents ad786a87b22e
children 93e0de2fca4e
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="libpcap doxygen openvas-libraries-dev openvas-libraries \
13 gnutls-dev cmake glib-dev"
14 CONFIG_FILES="/etc/openvas"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
21 -DLOCALSTATEDIR=/var
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 }