void-packages/srcpkgs/zmap/template

21 lines
636 B
Bash

# Template file for 'zmap'
pkgname=zmap
version=1.2.1
revision=2
build_style=cmake
conf_files="/etc/zmap/blacklist.conf /etc/zmap/zmap.conf"
hostmakedepends="cmake flex byacc gengetopt pkg-config"
makedepends="libpcap-devel gmp-devel"
short_desc="Fast network scanner designed for Internet-wide network surveys"
maintainer="Duncaen <mail@duncano.de>"
license="Apache"
homepage="https://zmap.io"
distfiles="https://github.com/zmap/zmap/archive/v${version}.tar.gz"
checksum=ff01f2b139e98a7e64ed2872ae332929c500dd6120888d57900fac82dccfeea8
post_install() {
vmkdir usr/bin
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
vlicense LICENSE
}