wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openvas-client"
4 VERSION="3.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (client)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openvas.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://wald.intevation.org/frs/download.php/757/$TARBALL"
14 #BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \
15 #libgd-dev libpng16-dev pkg-config gtk+-dev gnutls-dev"
16 BUILD_DEPENDS="libgd-dev libpng16-dev glib-dev openvas-libraries-dev \
17 gnutls-dev gtk+-dev"
19 compile_rules() {
20 cp -a $stuff/libopenvas-config /usr/bin
22 ./configure \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS || return 1
25 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/etc $fs
36 DEPENDS="openvas-libraries gtk+"
37 CONFIG_FILES="/etc/openvas/"
38 }