fping: correct/install license; allow !x86 and cross (close #1156).

This commit is contained in:
Juan RP 2015-03-18 06:23:13 +01:00
parent f4ff585039
commit ce846ab3b5

View file

@ -1,19 +1,18 @@
# Template file for 'fping'
pkgname=fping
version=3.10
revision=1
revision=2
build_style=gnu-configure
configure_args="--prefix=/usr --sbindir=/usr/bin --enable-ipv4 --enable-ipv6"
only_for_archs="i686 x86_64"
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"
repository="nonfree"
license="fping"
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