# Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'fping' setvar pkgver = '4.0' setvar pkgrel = '0' setvar pkgdesc = ""A utility to ping multiple hosts at once"" setvar url = ""http://fping.org/"" setvar arch = ""all"" setvar license = ""BSD"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://fping.org/dist/fping-$pkgver.tar.gz"" setvar options = ""suid"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ --enable-ipv6 \ || return 1 make || return 1 } proc package { cd $builddir make install DESTDIR="$pkgdir" || return 1 chmod 4755 "$pkgdir"/usr/sbin/fping* } setvar sha512sums = ""5dca650e9c34dd2e1bdbb981df61cf092230f07a15c4ccef105b9f58aaaa43e0d85dc9665db89631feded503ecc6f6be86446719de18e59349adb7c2f3e9757e fping-4.0.tar.gz""