wok-current annotate openvas-administrator/receipt @ rev 18162

Add grub2-efi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 24 12:08:56 2015 +0200 (2015-06-24)
parents 781f09eb4bb3
children 86cbb0030041
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@8971 16 gnutls-dev cmake glib-dev"
pascal@4651 17
pascal@4651 18 # Rules to configure and make the package.
pascal@4651 19 compile_rules()
pascal@4651 20 {
pascal@4651 21 cd $src
pascal@12908 22 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
pascal@4655 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
pascal@4655 24 -DLOCALSTATEDIR=/var
pascal@4651 25 make &&
pascal@15000 26 make DESTDIR=$DESTDIR install
pascal@4651 27 }
pascal@4651 28
pascal@4651 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4651 30 genpkg_rules()
pascal@4651 31 {
pascal@4651 32 mkdir -p $fs/usr
pascal@15000 33 cp -a $install/etc $fs
pascal@15000 34 cp -a $install/usr/sbin $fs/usr
pascal@4651 35 }
pascal@4651 36