wok-6.x annotate openvas-manager/receipt @ rev 14983

Up: thunderbird-langpack-pt_BR (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:10 2013 +0200 (2013-08-08)
parents 70186d6ec4a0
children 380ffe05937a
rev   line source
pascal@4652 1 # SliTaz package receipt.
pascal@4652 2
pascal@4652 3 PACKAGE="openvas-manager"
pascal@9316 4 VERSION="1.0.4"
pascal@4652 5 CATEGORY="network"
pascal@4652 6 SHORT_DESC="Network security scanner (manager)."
pascal@4652 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4652 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4652 9 WEB_SITE="http://www.openvas.org/"
pascal@9316 10 WGET_URL="http://wald.intevation.org/frs/download.php/829/$TARBALL"
pankso@12481 11 DEPENDS="openvas-libraries sqlite util-linux-uuid"
pascal@8938 12 BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \
pascal@12878 13 util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite sqlite-dev glib-dev"
pascal@4655 14 CONFIG_FILES="/etc/openvas"
pascal@4652 15
pascal@4652 16 # Rules to configure and make the package.
pascal@4652 17 compile_rules()
pascal@4652 18 {
pascal@4652 19 cd $src
pascal@12909 20 export CFLAGS="-Wno-error=unused-but-set-variable"
pascal@4655 21 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
pascal@4655 22 -DLOCALSTATEDIR=/var
pascal@4652 23 make &&
pascal@4652 24 make DESTDIR=$PWD/_pkg install
pascal@4652 25 }
pascal@4652 26
pascal@4652 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4652 28 genpkg_rules()
pascal@4652 29 {
pascal@4652 30 mkdir -p $fs/usr
pascal@4652 31 cp -a $_pkg/etc $fs
pascal@9317 32 cp -a $_pkg/usr/sbin $fs/usr
pascal@4652 33 }