# Maintainer: Natanael Copa pkgname=fping pkgver=3.15 pkgrel=0 pkgdesc="A utility to ping multiple hosts at once" url="http://fping.org/" arch="all" license="BSD" subpackages="$pkgname-doc" source="http://fping.org/dist/fping-$pkgver.tar.gz" options="suid" builddir="$srcdir/$pkgname-$pkgver" build () { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ --enable-ipv6 \ || return 1 make || return 1 } package() { cd "$builddir" make install DESTDIR="$pkgdir" || return 1 chmod 4755 "$pkgdir"/usr/sbin/fping* } md5sums="f88ead3c7f0111d7c1befba9685d8580 fping-3.15.tar.gz" sha256sums="96948f6835bee8925f2556fdf187b59c77c06524e2efc72ddf2bfccb5385521c fping-3.15.tar.gz" sha512sums="0483657427b8525a737e715a7c669048199affc1c95661e841790f45f4118e0355266fe27828b3778754bd791f2c8ead22d569ebae87795172e996c4fec1898a fping-3.15.tar.gz"