wok-current annotate openvas-manager/receipt @ rev 4652
Add openvas-manager
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 27 11:41:11 2009 +0100 (2009-12-27) |
parents | |
children | 84b0d5965bb7 |
rev | line source |
---|---|
pascal@4652 | 1 # SliTaz package receipt. |
pascal@4652 | 2 |
pascal@4652 | 3 PACKAGE="openvas-manager" |
pascal@4652 | 4 VERSION="0.9.8" |
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@4652 | 10 WGET_URL="http://wald.intevation.org/frs/download.php/687/$TARBALL" |
pascal@4652 | 11 DEPENDS="openvas-libraries sqlite util-linux-ng-uuid" |
pascal@4652 | 12 BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config \ |
pascal@4652 | 13 util-linux-ng-uuid-dev doxygen cmake gnutls sqlite sqlite-dev" |
pascal@4652 | 14 |
pascal@4652 | 15 # Rules to configure and make the package. |
pascal@4652 | 16 compile_rules() |
pascal@4652 | 17 { |
pascal@4652 | 18 cd $src |
pascal@4652 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc |
pascal@4652 | 20 make && |
pascal@4652 | 21 make DESTDIR=$PWD/_pkg install |
pascal@4652 | 22 } |
pascal@4652 | 23 |
pascal@4652 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4652 | 25 genpkg_rules() |
pascal@4652 | 26 { |
pascal@4652 | 27 mkdir -p $fs/usr |
pascal@4652 | 28 cp -a $_pkg/etc $fs |
pascal@4652 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@4652 | 30 } |