void-packages/srcpkgs/fping/template

20 lines
554 B
Bash

# Template file for 'fping'
pkgname=fping
version=3.14
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-ipv4 --enable-ipv6"
short_desc="High performance ping"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://fping.org"
license="MIT-alike"
distfiles="${homepage}/dist/${pkgname}-${version}.tar.gz"
checksum=704a574f4a4abeb132e95f89749c1c27b0861ad04262be4c5119e91be25f7a90
post_install() {
vlicense COPYING
# make fping{,6} setuid.
chmod 4555 ${DESTDIR}/usr/bin/fping
chmod 4555 ${DESTDIR}/usr/bin/fping6
}