void-packages/srcpkgs/fping/template
2015-10-15 08:20:41 +02:00

20 lines
568 B
Bash

# Template file for 'fping'
pkgname=fping
version=3.12
revision=1
build_pie=yes
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=d86f2281bda4653c7049e6ba8fce24ba67edbf9193b7bb1cf6219b0c8ddce4e6
post_install() {
vlicense COPYING
# make fping{,6} setuid.
chmod 4555 ${DESTDIR}/usr/bin/fping
chmod 4555 ${DESTDIR}/usr/bin/fping6
}