wok-current annotate openvas-client/receipt @ rev 25451
Add bluez-gatttool
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Sep 15 07:47:22 2022 +0000 (2022-09-15) |
parents | 33ed869afff2 |
children |
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/" |
pascal@25444 | 11 WGET_URL="https://web.archive.org/web/20140427043534if_/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@25064 | 21 # Update for gnutls |
pascal@25064 | 22 patch -p1 -i $stuff/gnutls.2.2.u |
pascal@25064 | 23 |
pascal@4650 | 24 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@4650 | 25 --mandir=/usr/share/man \ |
pascal@4650 | 26 $CONFIGURE_ARGS || return 1 |
pascal@4650 | 27 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|' |
pascal@4650 | 28 make && |
pascal@15000 | 29 make DESTDIR=$DESTDIR install |
pascal@4650 | 30 } |
pascal@4650 | 31 |
pascal@4650 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4650 | 33 genpkg_rules() |
pascal@4650 | 34 { |
pascal@4650 | 35 mkdir -p $fs/usr |
pascal@15000 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 37 cp -a $install/etc $fs |
pascal@4650 | 38 } |