# SliTaz package receipt. PACKAGE="openvas-administrator" VERSION="1.0.1" CATEGORY="network" SHORT_DESC="Network security scanner (administrator)." 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/20140427035516if_/http://wald.intevation.org/frs/download.php/828/$TARBALL" CONFIG_FILES="/etc/openvas" DEPENDS="openvas-libraries util-linux-uuid" BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \ gnutls-dev cmake glib-dev libgnutls" # Rules to configure and make the package. compile_rules() { sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c 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 }