summaryrefslogtreecommitdiffstats
path: root/abs/core/fping/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-07 19:34:34 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-07 19:34:34 (GMT)
commit47c0ea8ef7f8c24d434199b752d7d20f27ec0e6a (patch)
treeb0bb6c48ebc61d8a02d0b041a15e33e68eab8938 /abs/core/fping/PKGBUILD
parent03f055e5e8f4731454a7c68fce84a1aa0bee5064 (diff)
downloadlinhes_pkgbuild-47c0ea8ef7f8c24d434199b752d7d20f27ec0e6a.zip
linhes_pkgbuild-47c0ea8ef7f8c24d434199b752d7d20f27ec0e6a.tar.gz
linhes_pkgbuild-47c0ea8ef7f8c24d434199b752d7d20f27ec0e6a.tar.bz2
fping: utility to ping several hosts at once
Used by xymon
Diffstat (limited to 'abs/core/fping/PKGBUILD')
-rw-r--r--abs/core/fping/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/fping/PKGBUILD b/abs/core/fping/PKGBUILD
new file mode 100644
index 0000000..e2de78e
--- /dev/null
+++ b/abs/core/fping/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 130929 2011-07-09 05:53:00Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=fping
+pkgver=2.4b2
+pkgrel=5
+pkgdesc="A utility to ping multiple hosts at once"
+arch=('i686' 'x86_64')
+url="http://www.fping.com/"
+license=('custom')
+depends=('glibc')
+source=("http://fping.sourceforge.net/download/${pkgname}.tar.gz")
+md5sums=('d5e8be59e307cef76bc479e1684df705')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver\_to
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver\_to
+
+ make DESTDIR="${pkgdir}" install
+
+ # install license
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+ chmod 4755 ${pkgdir}/usr/sbin/fping
+}