wok-next annotate openvas-administrator/receipt @ rev 13605
Up: kmod (11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 10 19:54:06 2012 +0100 (2012-11-10) |
parents | 73641efed1cc |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@4651 | 1 # SliTaz package receipt. |
pascal@4651 | 2 |
pascal@4651 | 3 PACKAGE="openvas-administrator" |
pascal@9318 | 4 VERSION="1.0.1" |
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@9318 | 10 WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL" |
pankso@12481 | 11 DEPENDS="openvas-libraries util-linux-uuid" |
pascal@8971 | 12 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \ |
pascal@8971 | 13 gnutls-dev cmake glib-dev" |
pascal@4655 | 14 CONFIG_FILES="/etc/openvas" |
pascal@4651 | 15 |
pascal@4651 | 16 # Rules to configure and make the package. |
pascal@4651 | 17 compile_rules() |
pascal@4651 | 18 { |
pascal@4651 | 19 cd $src |
pascal@12908 | 20 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c |
pascal@4655 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \ |
pascal@4655 | 22 -DLOCALSTATEDIR=/var |
pascal@4651 | 23 make && |
pascal@4651 | 24 make DESTDIR=$PWD/_pkg install |
pascal@4651 | 25 } |
pascal@4651 | 26 |
pascal@4651 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4651 | 28 genpkg_rules() |
pascal@4651 | 29 { |
pascal@4651 | 30 mkdir -p $fs/usr |
pascal@4651 | 31 cp -a $_pkg/etc $fs |
pascal@9318 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4651 | 33 } |
pascal@4651 | 34 |