void-packages/srcpkgs/dnstracer/template

24 lines
608 B
Bash

# Template file for 'dnstracer'
pkgname=dnstracer
version=1.10
revision=2
wrksrc="$pkgname"
build_style=gnu-makefile
hostmakedepends="perl"
short_desc="Trace a chain of DNS servers to the source"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="BSD-2-Clause"
homepage="http://www.mavetju.org/unix/dnstracer.php"
distfiles="http://www.mavetju.org/download/dnstracer-${version}.tar.bz2"
checksum=64cda0ed15ef598a38ec72a96a356e3d10b7f822fc75928115eae96a65ae2b21
pre_build() {
sed -i 's|-Wall|-Wall $(CFLAGS) $(LDFLAGS)|g' Makefile
}
do_install() {
vbin dnstracer
vman dnstracer.8
vlicense LICENSE
}