wok annotate openvas-manager/receipt @ rev 5214

Up: evilvte (0.4.6)
author Alexander Medvedev <devl547@gmail.com>
date Tue Apr 06 22:45:58 2010 +0000 (2010-04-06)
parents ae0bd9b30c56
children ad786a87b22e
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@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@4652 31 cp -a $_pkg/usr/bin $fs/usr
pascal@4652 32 }