1 # Maintainer: Vlatko Kosturjak <kost@linux.hr>, Contributor: Mike Roberts <noodlesgc@gmail.com> - originally by: Ermak <ermak@email.it>
2 pkgname=openvas-libraries
5 pkgdesc="The OpenVAS libraries"
7 url="http://www.openvas.org/"
9 depends=('gnutls' 'libpcap' 'gpgme' 'cmake' 'bison')
10 makedepends=('pkg-config')
11 source=(http://wald.intevation.org/frs/download.php/872/$pkgname-$pkgver.tar.gz openvas-nowerror.patch openvas-gnutls.patch)
12 md5sums=('88152081a0a0d2e8dfd63538999f56ef' '47b8310bbd97b0ef491414d26ddb8f03' '14b2a7c330f647d27e9978bd7167119c')
16 cd "$srcdir/$pkgname-$pkgver"
18 patch -p1 < "$startdir/src/openvas-nowerror.patch"
19 patch -p1 < "$startdir/src/openvas-gnutls.patch"
21 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
23 make CC=--disable-werror || return 1
24 make DESTDIR="$pkgdir/" install
27 # vim:set ts=2 sw=2 et: