void-packages/srcpkgs/p0f/template

26 lines
650 B
Bash

# Template file for 'p0f'
pkgname=p0f
version=3.09b
revision=3
makedepends="libpcap-devel"
short_desc="Passive OS fingerprinting tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://lcamtuf.coredump.cx/p0f3"
distfiles="https://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${version}.tgz"
checksum=543b68638e739be5c3e818c3958c3b124ac0ccb8be62ba274b4241dbdec00e7f
do_build() {
make
make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS+="$LDFLAGS" -C tools
}
do_install() {
vbin p0f
vbin tools/p0f-client
vbin tools/p0f-sendsyn
vbin tools/p0f-sendsyn6
vinstall p0f.fp 644 /usr/share/${pkgname}
vdoc docs/README
}