wok-current view openvas-libraries/receipt @ rev 15341
n2nc: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 11:40:18 2013 +0000 (2013-09-29) |
parents | 73641efed1cc |
children | ee5c8b018b62 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-libraries"
4 VERSION="3.1.4"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (libraries)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2 BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openvas.org/"
11 WGET_URL="http://wald.intevation.org/frs/download.php/784/$TARBALL"
12 DEPENDS="glib gnutls libgcrypt zlib libgpg-error gpgme libtasn1"
13 BUILD_DEPENDS="gpgme-dev libgcrypt-dev pkg-config glib-dev gnutls-dev libpcap-dev \
14 bison flex cmake util-linux-uuid-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --localstatedir=/var \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/bin
31 cp -a $_pkg/usr/share/openvas $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }