2014-11-05 14:58:29 +01:00
|
|
|
# Description: A utility to ping multiple hosts at once
|
2014-11-05 15:03:20 +01:00
|
|
|
# URL: http://www.fping.org/
|
2014-11-05 14:58:29 +01:00
|
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
|
|
|
#
|
2006-11-14 00:01:22 +01:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=fping
|
2014-11-05 14:58:29 +01:00
|
|
|
version=3.10
|
2014-11-06 03:25:36 +01:00
|
|
|
release=2
|
2014-11-05 14:58:29 +01:00
|
|
|
source=(http://www.fping.org/dist/${name}-${version}.tar.gz)
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
build () {
|
2006-11-19 22:26:53 +01:00
|
|
|
cd $name-$version
|
2014-11-05 14:58:29 +01:00
|
|
|
|
|
|
|
# Configure
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--enable-ipv4 \
|
|
|
|
--enable-ipv6
|
|
|
|
|
|
|
|
# Build
|
|
|
|
make
|
|
|
|
|
|
|
|
# Package
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
chown -R root:root $PKG
|
2006-11-14 00:01:22 +01:00
|
|
|
}
|