# SliTaz package receipt. PACKAGE="openvas-client" VERSION="3.0.1" CATEGORY="network" SHORT_DESC="Network security scanner (client)." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.openvas.org/" WGET_URL="https://web.archive.org/web/20140427043534if_/http://wald.intevation.org/frs/download.php/757/$TARBALL" CONFIG_FILES="/etc/openvas" DEPENDS="openvas-libraries gtk+" BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \ libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev libgnutls" # Rules to configure and make the package. compile_rules() { # Update for gnutls patch -p1 -i $stuff/gnutls.2.2.u ./configure --prefix=/usr --sysconfdir=/etc \ --mandir=/usr/share/man \ $CONFIGURE_ARGS || return 1 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|' make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/etc $fs }