wok view openvas-administrator/receipt @ rev 17854
Up: slitaz-boot-scripts (5.7.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 25 00:32:22 2015 +0200 (2015-03-25) |
parents | 781f09eb4bb3 |
children | 86cbb0030041 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-administrator"
4 VERSION="1.0.1"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (administrator)."
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/828/$TARBALL"
12 CONFIG_FILES="/etc/openvas"
14 DEPENDS="openvas-libraries util-linux-uuid"
15 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
16 gnutls-dev cmake glib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
24 -DLOCALSTATEDIR=/var
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/etc $fs
34 cp -a $install/usr/sbin $fs/usr
35 }