wok annotate openvas-client/receipt @ rev 19872

linld/tazboot: fix magic (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 18:01:42 2017 +0200 (2017-03-30)
parents 73641efed1cc
children febd8d7de57b
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@4650 10 WEB_SITE="http://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@10582 16 libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev"
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 }