wok annotate openvas-manager/receipt @ rev 19779
mate-panel, marco; update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 22 08:22:49 2017 +0100 (2017-02-22) |
parents | d26244ba3a6d |
children | 86cbb0030041 |
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@15000 | 8 LICENSE="GPL2" |
pascal@4652 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4652 | 10 WEB_SITE="http://www.openvas.org/" |
pascal@9316 | 11 WGET_URL="http://wald.intevation.org/frs/download.php/829/$TARBALL" |
pascal@15000 | 12 CONFIG_FILES="/etc/openvas" |
pascal@15000 | 13 |
pankso@12481 | 14 DEPENDS="openvas-libraries sqlite util-linux-uuid" |
pascal@8938 | 15 BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \ |
pascal@12878 | 16 util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite sqlite-dev glib-dev" |
pascal@4652 | 17 |
pascal@4652 | 18 # Rules to configure and make the package. |
pascal@4652 | 19 compile_rules() |
pascal@4652 | 20 { |
pascal@4652 | 21 cd $src |
pascal@12909 | 22 export CFLAGS="-Wno-error=unused-but-set-variable" |
pascal@4655 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \ |
pascal@4655 | 24 -DLOCALSTATEDIR=/var |
pascal@4652 | 25 make && |
pascal@15000 | 26 make DESTDIR=$DESTDIR install |
pascal@4652 | 27 } |
pascal@4652 | 28 |
pascal@4652 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4652 | 30 genpkg_rules() |
pascal@4652 | 31 { |
pascal@4652 | 32 mkdir -p $fs/usr |
pascal@15000 | 33 cp -a $install/etc $fs |
pascal@15000 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@4652 | 35 } |