wok annotate openvas-client/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents febd8d7de57b
children bd7510903310
rev   line source
pascal@4650 1 # SliTaz package receipt.
pascal@4650 2
pascal@4650 3 PACKAGE="openvas-client"
slaxemulator@7173 4 VERSION="3.0.1"
pascal@4650 5 CATEGORY="network"
pascal@4650 6 SHORT_DESC="Network security scanner (client)."
pascal@4650 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@4650 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22812 10 WEB_SITE="https://www.openvas.org/"
slaxemulator@7173 11 WGET_URL="http://wald.intevation.org/frs/download.php/757/$TARBALL"
pascal@15000 12 CONFIG_FILES="/etc/openvas"
pascal@15000 13
pascal@4650 14 DEPENDS="openvas-libraries gtk+"
pankso@12481 15 BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \
pascal@20584 16 libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev libgnutls"
pascal@4650 17
pascal@4650 18 # Rules to configure and make the package.
pascal@4650 19 compile_rules()
pascal@4650 20 {
pascal@4650 21 cd $src
pascal@4650 22 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@4650 23 --mandir=/usr/share/man \
pascal@4650 24 $CONFIGURE_ARGS || return 1
pascal@4650 25 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
pascal@4650 26 make &&
pascal@15000 27 make DESTDIR=$DESTDIR install
pascal@4650 28 }
pascal@4650 29
pascal@4650 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4650 31 genpkg_rules()
pascal@4650 32 {
pascal@4650 33 mkdir -p $fs/usr
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/etc $fs
pascal@4650 36 }