wok-next annotate greenbone-security-assistant/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents
children d5aab818505e
rev   line source
al@20384 1 # SliTaz package receipt v2.
al@20384 2
al@20384 3 PACKAGE="greenbone-security-assistant"
al@20384 4 VERSION="6.0.12"
al@20384 5 CATEGORY="network"
al@20384 6 SHORT_DESC="Greenbone Security Assistant"
al@20384 7 MAINTAINER="al.bobylev@gmail.com"
al@20384 8 LICENSE="GPL2"
al@20384 9 WEB_SITE="http://www.openvas.org/"
al@20384 10
al@20384 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20384 12 WGET_URL="http://wald.intevation.org/frs/download.php/2442/$TARBALL"
al@20384 13
al@20384 14 BUILD_DEPENDS="cmake libmicrohttpd-dev libxml2-dev glib-dev libxslt-dev \
al@20384 15 openvas-libraries-dev gettext doxygen tzdata"
al@20384 16
al@20384 17 compile_rules() {
al@20384 18 mkdir -p build
al@20384 19 cd build
al@20384 20 cmake \
al@20384 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@20384 22 -DSYSCONFDIR=/etc \
al@20384 23 -DCMAKE_BUILD_TYPE=Release \
al@20384 24 -Wno-dev \
al@20384 25 .. &&
al@20384 26 make &&
al@20384 27 make doc &&
al@20384 28 make install
al@20384 29 }
al@20384 30
al@20384 31 genpkg_rules() {
al@20384 32 copy @std *.mo
al@20384 33 DEPENDS="glib libgcrypt libgnutls libgpg-error liblzma libmicrohttpd \
al@20384 34 libxml2 libxslt openvas-libraries zlib"
al@20384 35 CONFIG_FILES="/etc/openvas/gsad_log.conf"
al@20384 36 }