mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-22 00:52:18 +01:00
33 lines
769 B
Plaintext
33 lines
769 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=fping
|
|
pkgver=4.1
|
|
pkgrel=0
|
|
pkgdesc="A utility to ping multiple hosts at once"
|
|
url="http://fping.org/"
|
|
arch="all"
|
|
license="BSD"
|
|
subpackages="$pkgname-doc"
|
|
source="http://fping.org/dist/fping-$pkgver.tar.gz"
|
|
options="suid"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build () {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--enable-ipv6 \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make install DESTDIR="$pkgdir" || return 1
|
|
chmod 4755 "$pkgdir"/usr/sbin/fping*
|
|
}
|
|
|
|
sha512sums="cd31ea336985f8d727b0db3c70213b827f0282b0c382694e10c72a89c425f2f7383d07f8f2febdc23aa246ebbf65ac9751b2404be405088963a682945edc80ba fping-4.1.tar.gz"
|