wok-next diff openvas-cli/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openvas-cli/receipt	Sun May 27 13:10:46 2018 +0300
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="openvas-cli"
     1.7 +VERSION="1.4.5"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="OpenVAS commandline interface"
    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/2397/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="cmake openvas-libraries-dev glib-dev gnutls-dev"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	mkdir -p build
    1.21 +	cd       build
    1.22 +	cmake \
    1.23 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.24 +		-DCMAKE_BUILD_TYPE=Release \
    1.25 +		.. &&
    1.26 +	make &&
    1.27 +	make install
    1.28 +}
    1.29 +
    1.30 +genpkg_rules() {
    1.31 +	copy @std
    1.32 +	DEPENDS="glib libgnutls openvas-libraries"
    1.33 +}