wok-stable annotate openvas-client/receipt @ rev 6945
Added libwnck, gtk+-dev and startup-notification-dev to libwnck-dev depends. Need them for pkg-config --flags libwnck-1.0 to work in clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 24 20:43:07 2010 +0000 (2010-10-24) |
parents | 04480205ad9b |
children | 652faf9e9594 |
rev | line source |
---|---|
pascal@4650 | 1 # SliTaz package receipt. |
pascal@4650 | 2 |
pascal@4650 | 3 PACKAGE="openvas-client" |
pascal@4650 | 4 VERSION="3.0.0" |
pascal@4650 | 5 CATEGORY="network" |
pascal@4650 | 6 SHORT_DESC="Network security scanner (client)." |
pascal@4650 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4650 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4650 | 9 WEB_SITE="http://www.openvas.org/" |
pascal@4650 | 10 WGET_URL="http://wald.intevation.org/frs/download.php/685/$TARBALL" |
pascal@4650 | 11 DEPENDS="openvas-libraries gtk+" |
pascal@4650 | 12 BUILD_DEPENDS="openvas-libraries openvas-libraries-dev \ |
pascal@4650 | 13 libgd-dev libpng-dev pkg-config gtk+-dev" |
pascal@4656 | 14 CONFIG_FILES="/etc/openvas" |
pascal@4650 | 15 |
pascal@4650 | 16 # Rules to configure and make the package. |
pascal@4650 | 17 compile_rules() |
pascal@4650 | 18 { |
pascal@4650 | 19 cd $src |
pascal@4650 | 20 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@4650 | 21 --mandir=/usr/share/man \ |
pascal@4650 | 22 $CONFIGURE_ARGS || return 1 |
pascal@4650 | 23 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|' |
pascal@4650 | 24 make && |
pascal@4650 | 25 make DESTDIR=$PWD/_pkg install |
pascal@4650 | 26 } |
pascal@4650 | 27 |
pascal@4650 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4650 | 29 genpkg_rules() |
pascal@4650 | 30 { |
pascal@4650 | 31 mkdir -p $fs/usr |
pascal@4650 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@4650 | 33 cp -a $_pkg/etc $fs |
pascal@4650 | 34 } |