wok-6.x annotate openvas-administrator/receipt @ rev 22740
updated drakon-editor (1.29 -> 1.31)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 07:47:30 2020 +0100 (2020-01-24) |
parents | 380ffe05937a |
children | df98a48adee2 |
rev | line source |
---|---|
pascal@4651 | 1 # SliTaz package receipt. |
pascal@4651 | 2 |
pascal@4651 | 3 PACKAGE="openvas-administrator" |
pascal@9318 | 4 VERSION="1.0.1" |
pascal@4651 | 5 CATEGORY="network" |
pascal@4651 | 6 SHORT_DESC="Network security scanner (administrator)." |
pascal@4651 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@4651 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4651 | 10 WEB_SITE="http://www.openvas.org/" |
pascal@9318 | 11 WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL" |
pascal@15000 | 12 CONFIG_FILES="/etc/openvas" |
pascal@15000 | 13 |
pankso@12481 | 14 DEPENDS="openvas-libraries util-linux-uuid" |
pascal@8971 | 15 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \ |
pascal@20588 | 16 gnutls-dev cmake glib-dev libgnutls" |
pascal@4651 | 17 |
pascal@4651 | 18 # Rules to configure and make the package. |
pascal@4651 | 19 compile_rules() |
pascal@4651 | 20 { |
pascal@12908 | 21 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c |
pascal@4655 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \ |
pascal@4655 | 23 -DLOCALSTATEDIR=/var |
pascal@4651 | 24 make && |
pascal@15000 | 25 make DESTDIR=$DESTDIR install |
pascal@4651 | 26 } |
pascal@4651 | 27 |
pascal@4651 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4651 | 29 genpkg_rules() |
pascal@4651 | 30 { |
pascal@4651 | 31 mkdir -p $fs/usr |
pascal@15000 | 32 cp -a $install/etc $fs |
pascal@15000 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@4651 | 34 } |