wok-next annotate openvas-administrator/receipt @ rev 4651
Add openvas-administrator
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 27 11:40:59 2009 +0100 (2009-12-27) |
parents | |
children | 84b0d5965bb7 |
rev | line source |
---|---|
pascal@4651 | 1 # SliTaz package receipt. |
pascal@4651 | 2 |
pascal@4651 | 3 PACKAGE="openvas-administrator" |
pascal@4651 | 4 VERSION="0.4.0" |
pascal@4651 | 5 CATEGORY="network" |
pascal@4651 | 6 SHORT_DESC="Network security scanner (administrator)." |
pascal@4651 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4651 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4651 | 9 WEB_SITE="http://www.openvas.org/" |
pascal@4651 | 10 WGET_URL="http://wald.intevation.org/frs/download.php/686/$TARBALL" |
pascal@4651 | 11 DEPENDS="openvas-libraries" |
pascal@4651 | 12 BUILD_DEPENDS="openvas-libraries-dev openvas-libraries gnutls-dev cmake glib-dev" |
pascal@4651 | 13 |
pascal@4651 | 14 # Rules to configure and make the package. |
pascal@4651 | 15 compile_rules() |
pascal@4651 | 16 { |
pascal@4651 | 17 cd $src |
pascal@4651 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc |
pascal@4651 | 19 make && |
pascal@4651 | 20 make DESTDIR=$PWD/_pkg install |
pascal@4651 | 21 } |
pascal@4651 | 22 |
pascal@4651 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4651 | 24 genpkg_rules() |
pascal@4651 | 25 { |
pascal@4651 | 26 mkdir -p $fs/usr |
pascal@4651 | 27 cp -a $_pkg/etc $fs |
pascal@4651 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@4651 | 29 } |
pascal@4651 | 30 |