aboutsummaryrefslogtreecommitdiffstats
path: root/main/fping/APKBUILD
blob: c45824bde3decd6866637d39a642faa8e5bca3ce (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.2
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="efc86557e9b54e5c3becb598a50684a0  fping-3.2.tar.gz"