wok-next annotate openvas-client/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | db12822e1407 |
children | d43bf7aae921 |
rev | line source |
---|---|
al@20384 | 1 # SliTaz package receipt v2. |
pascal@4650 | 2 |
pascal@4650 | 3 PACKAGE="openvas-client" |
al@20384 | 4 VERSION="3.0.3" |
pascal@4650 | 5 CATEGORY="network" |
al@20384 | 6 SHORT_DESC="Network security scanner (client)" |
pascal@4650 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20384 | 9 WEB_SITE="http://www.openvas.org/" |
al@20384 | 10 |
pascal@4650 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7173 | 12 WGET_URL="http://wald.intevation.org/frs/download.php/757/$TARBALL" |
pascal@15000 | 13 |
al@20384 | 14 #BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \ |
al@20454 | 15 #libgd-dev libpng16-dev pkg-config gtk+-dev gnutls-dev" |
al@20384 | 16 BUILD_DEPENDS="libgd-dev libpng16-dev glib-dev openvas-libraries-dev \ |
al@20384 | 17 gnutls-dev gtk+-dev" |
pascal@4650 | 18 |
al@20384 | 19 compile_rules() { |
al@20384 | 20 cp -a $stuff/libopenvas-config /usr/bin |
al@20384 | 21 |
al@20384 | 22 ./configure \ |
al@20384 | 23 --sysconfdir=/etc \ |
al@20384 | 24 $CONFIGURE_ARGS || return 1 |
pascal@4650 | 25 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|' |
pascal@4650 | 26 make && |
al@20384 | 27 make 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 |
al@20384 | 36 DEPENDS="openvas-libraries gtk+" |
al@20384 | 37 CONFIG_FILES="/etc/openvas/" |
pascal@4650 | 38 } |