summaryrefslogtreecommitdiffstats
path: root/main/fping/APKBUILD
blob: ac87a3445032c927b3a5794fa4313d742f46aa7b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>

pkgname=fping
pkgver=3.0
pkgrel=0
pkgdesc="A utility to ping multiple hosts at once"
url="http://fping.org/"
arch="all"
license="fping"
depends=""
subpackages="$pkgname-doc"
source="http://fping.org/dist/fping-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build () { 
	cd "$_builddir"
	./configure --prefix=/usr \
		--mandir=/usr/share/man
	make || return 1
}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir" || return 1
	chmod 4755 "$pkgdir"/usr/sbin/fping
}
md5sums="e937c9a2b1d65b6f5294fec57891645b  fping-3.0.tar.gz"