wok-current annotate openvas-manager/receipt @ rev 12878
openvas-manager: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 25 13:25:13 2012 +0200 (2012-05-25) |
parents | 73641efed1cc |
children | d26244ba3a6d |
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@4655 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \ |
pascal@4655 | 21 -DLOCALSTATEDIR=/var |
pascal@4652 | 22 make && |
pascal@4652 | 23 make DESTDIR=$PWD/_pkg install |
pascal@4652 | 24 } |
pascal@4652 | 25 |
pascal@4652 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4652 | 27 genpkg_rules() |
pascal@4652 | 28 { |
pascal@4652 | 29 mkdir -p $fs/usr |
pascal@4652 | 30 cp -a $_pkg/etc $fs |
pascal@9317 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4652 | 32 } |