mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-14 20:32:17 +01:00
33 lines
781 B
Plaintext
33 lines
781 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
|
|
pkgname=fping
|
|
pkgver=2.4_beta2
|
|
_myver=2.4b2_to
|
|
pkgrel=4
|
|
pkgdesc="A utility to ping multiple hosts at once"
|
|
url="http://www.fping.com/"
|
|
arch="all"
|
|
license="fping"
|
|
depends=""
|
|
subpackages="$pkgname-doc"
|
|
|
|
# what happened to upstream download? use gentoo distfiles meanwhile
|
|
#source="http://www.$pkgname.com/download/$pkgname-${myver}.tar.gz"
|
|
source=http://distfiles.gentoo.org/distfiles/fping-${_myver}.tar.gz
|
|
|
|
_builddir="$srcdir"/$pkgname-$_myver
|
|
|
|
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="d5e8be59e307cef76bc479e1684df705 fping-2.4b2_to.tar.gz"
|