wok view openvas-administrator/receipt @ rev 25462
ufraw: include exiv2/error.hpp in ufraw_exiv2.cc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 10:52:41 2022 +0000 (2022-09-28) |
parents | bd7510903310 |
children |
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="https://www.openvas.org/"
11 WGET_URL="https://web.archive.org/web/20140427035516if_/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 libgnutls"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
23 -DLOCALSTATEDIR=/var
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/etc $fs
33 cp -a $install/usr/sbin $fs/usr
34 }