wok annotate openvas-administrator/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (2 weeks ago) |
parents | bd7510903310 |
children |
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@22812 | 10 WEB_SITE="https://www.openvas.org/" |
pascal@25444 | 11 WGET_URL="https://web.archive.org/web/20140427035516if_/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 } |