wok-current annotate openvas-libraries/receipt @ rev 5730
thunar-dev: fix category
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 17:33:10 2010 +0200 (2010-06-24) |
parents | 5b44af8c1257 |
children | dffbb795b29e |
rev | line source |
---|---|
pascal@4648 | 1 # SliTaz package receipt. |
pascal@4648 | 2 |
pascal@4648 | 3 PACKAGE="openvas-libraries" |
pascal@4648 | 4 VERSION="3.0.0" |
pascal@4648 | 5 CATEGORY="network" |
pascal@4648 | 6 SHORT_DESC="Network security scanner (libraries)." |
pascal@4648 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4648 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4648 | 9 WEB_SITE="http://www.openvas.org/" |
pascal@4648 | 10 WGET_URL="http://wald.intevation.org/frs/download.php/683/$TARBALL" |
pascal@5031 | 11 DEPENDS="glib gnutls libgcrypt zlib libgpg-error gpgme libtasn1" |
pascal@4648 | 12 BUILD_DEPENDS="gpgme-dev libgcrypt-dev pkg-config glib-dev gnutls-dev libpcap \ |
pascal@4657 | 13 bison flex cmake" |
pascal@4648 | 14 |
pascal@4648 | 15 # Rules to configure and make the package. |
pascal@4648 | 16 compile_rules() |
pascal@4648 | 17 { |
pascal@4648 | 18 cd $src |
pascal@4657 | 19 ./configure --prefix=/usr --localstatedir=/var \ |
pascal@4648 | 20 --mandir=/usr/share/man \ |
pascal@4648 | 21 $CONFIGURE_ARGS && |
pascal@4648 | 22 make && |
pascal@4648 | 23 make DESTDIR=$PWD/_pkg install |
pascal@4648 | 24 } |
pascal@4648 | 25 |
pascal@4648 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4648 | 27 genpkg_rules() |
pascal@4648 | 28 { |
pascal@4648 | 29 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/bin |
pascal@4648 | 30 cp -a $_pkg/usr/share/openvas $fs/usr/share |
pascal@4648 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@4648 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@4648 | 33 } |