void-packages/srcpkgs/fping/template

20 lines
569 B
Bash

# Template file for 'fping'
pkgname=fping
version=3.10
revision=2
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-ipv4 --enable-ipv6"
short_desc="High performance ping"
maintainer="Sören Tempel <soeren+void@soeren-tempel.net>"
homepage="http://fping.org"
license="MIT-alike"
distfiles="${homepage}/dist/${pkgname}-${version}.tar.gz"
checksum=cd47e842f32fe6aa72369d8a0e3545f7c137bb019e66f47379dc70febad357d8
post_install() {
vlicense COPYING
# make fping{,6} setuid.
chmod 4555 ${DESTDIR}/usr/bin/fping
chmod 4555 ${DESTDIR}/usr/bin/fping6
}