blob: e2dfa2e60f0b77324142f1f4d0a0cdf2e0ddf0f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fping
pkgver=4.2
pkgrel=0
pkgdesc="A utility to ping multiple hosts at once"
url="http://fping.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="http://fping.org/dist/fping-$pkgver.tar.gz"
options="suid !check" # No testsuite
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-ipv6
make
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
chmod 4755 "$pkgdir"/usr/sbin/fping*
}
sha512sums="2bab34dae539d942eb5e436802e6f74d57c04aa4b782f9adbd6c27830209fdb47707131f20ed966012bcec3d253c9bb3df9033a60b55bfe560af6bb1f572ee8a fping-4.2.tar.gz"
|