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