# Maintainer: Natanael Copa pkgname=fping pkgver=3.10 pkgrel=0 pkgdesc="A utility to ping multiple hosts at once" url="http://fping.org/" arch="all" license="BSD" depends="" subpackages="$pkgname-doc" source="http://fping.org/dist/fping-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build () { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 make || return 1 } package() { cd "$_builddir" make install DESTDIR="$pkgdir" || return 1 chmod 4755 "$pkgdir"/usr/sbin/fping } md5sums="6a0ddecb671df1d580d20c0dd1095773 fping-3.10.tar.gz" sha256sums="cd47e842f32fe6aa72369d8a0e3545f7c137bb019e66f47379dc70febad357d8 fping-3.10.tar.gz" sha512sums="64bf93c7dbfa2b8adc3344514b2e6e182f1e5950da08b042b8d4d5e4c94b2b8bdc3aaba804339d0461dd88e0efbdfc0bd914a10d22810da8138c9c45335f7047 fping-3.10.tar.gz"