wok-current view openvas-libraries/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
parents ee5c8b018b62
children 05a0cbbb07b4
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=$DESTDIR 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 $install/usr/share/openvas $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }