wok-next annotate openvas-client/receipt @ rev 15689
Fix dpkg receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:57:52 2013 +0100 (2013-12-21) |
parents | 73641efed1cc |
children | db12822e1407 |
rev | line source |
---|---|
pascal@4650 | 1 # SliTaz package receipt. |
pascal@4650 | 2 |
pascal@4650 | 3 PACKAGE="openvas-client" |
slaxemulator@7173 | 4 VERSION="3.0.1" |
pascal@4650 | 5 CATEGORY="network" |
pascal@4650 | 6 SHORT_DESC="Network security scanner (client)." |
pascal@4650 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@4650 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4650 | 10 WEB_SITE="http://www.openvas.org/" |
slaxemulator@7173 | 11 WGET_URL="http://wald.intevation.org/frs/download.php/757/$TARBALL" |
pascal@15000 | 12 CONFIG_FILES="/etc/openvas" |
pascal@15000 | 13 |
pascal@4650 | 14 DEPENDS="openvas-libraries gtk+" |
pankso@12481 | 15 BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \ |
pascal@10582 | 16 libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev" |
pascal@4650 | 17 |
pascal@4650 | 18 # Rules to configure and make the package. |
pascal@4650 | 19 compile_rules() |
pascal@4650 | 20 { |
pascal@4650 | 21 cd $src |
pascal@4650 | 22 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@4650 | 23 --mandir=/usr/share/man \ |
pascal@4650 | 24 $CONFIGURE_ARGS || return 1 |
pascal@4650 | 25 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|' |
pascal@4650 | 26 make && |
pascal@15000 | 27 make DESTDIR=$DESTDIR install |
pascal@4650 | 28 } |
pascal@4650 | 29 |
pascal@4650 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4650 | 31 genpkg_rules() |
pascal@4650 | 32 { |
pascal@4650 | 33 mkdir -p $fs/usr |
pascal@15000 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 35 cp -a $install/etc $fs |
pascal@4650 | 36 } |