void-packages/srcpkgs/fping/template

20 lines
569 B
Bash
Raw Normal View History

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