# SliTaz package receipt. PACKAGE="openvas-manager" VERSION="1.0.4" CATEGORY="network" SHORT_DESC="Network security scanner (manager)." 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/20111102204550if_/http://wald.intevation.org/frs/download.php/829/$TARBALL" CONFIG_FILES="/etc/openvas" DEPENDS="openvas-libraries sqlite util-linux-uuid" BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \ util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite sqlite-dev glib-dev \ libgnutls" # Rules to configure and make the package. compile_rules() { export CFLAGS="-Wno-error=unused-but-set-variable" cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \ -DLOCALSTATEDIR=/var make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/etc $fs cp -a $install/usr/sbin $fs/usr }