# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-ikescan
pkgver=1.0b1
pkgrel=3
_pkgid=2185
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a ike-scan scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3 ospd py3-pexpect"
makedepends="cmake python3-dev"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
    cd "$builddir"
    python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4035656008d9cae579a836a4d69a7d1d2b5a45610fcfdab9b4311c942788bf4dc10b8db1dba6325fb162b4dd19cd3a522f44cff1d70152af7bfb096095a00e60  ospd-ikescan-1.0b1.tar.gz"
