wok-next diff greenbone-security-assistant/receipt @ rev 20741

brscan: use SliTaz mirror as $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 22:56:44 2018 +0300 (2018-05-29)
parents
children d5aab818505e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/greenbone-security-assistant/receipt	Tue May 29 22:56:44 2018 +0300
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="greenbone-security-assistant"
     1.7 +VERSION="6.0.12"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Greenbone Security Assistant"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.openvas.org/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="http://wald.intevation.org/frs/download.php/2442/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="cmake libmicrohttpd-dev libxml2-dev glib-dev libxslt-dev \
    1.18 +openvas-libraries-dev gettext doxygen tzdata"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	mkdir -p build
    1.22 +	cd       build
    1.23 +	cmake \
    1.24 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.25 +		-DSYSCONFDIR=/etc \
    1.26 +		-DCMAKE_BUILD_TYPE=Release \
    1.27 +		-Wno-dev \
    1.28 +		.. &&
    1.29 +	make &&
    1.30 +	make doc &&
    1.31 +	make install
    1.32 +}
    1.33 +
    1.34 +genpkg_rules() {
    1.35 +	copy @std *.mo
    1.36 +	DEPENDS="glib libgcrypt libgnutls libgpg-error liblzma libmicrohttpd \
    1.37 +	libxml2 libxslt openvas-libraries zlib"
    1.38 +	CONFIG_FILES="/etc/openvas/gsad_log.conf"
    1.39 +}