diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/liboping/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/liboping/PKGBUILD')
-rw-r--r-- | community/liboping/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/liboping/PKGBUILD b/community/liboping/PKGBUILD new file mode 100644 index 000000000..3e982e04b --- /dev/null +++ b/community/liboping/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 64661 2012-02-17 14:00:22Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + +pkgname=liboping +pkgver=1.6.2 +pkgrel=1 +pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"' +url='http://verplant.org/liboping/' +arch=('i686' 'x86_64') +license=('GPL') +options=('!libtool') +depends=('libcap') +makedepends=('ncurses') +optdepends=('perl: perl bindings' + 'ncurses: noping CLI tool') +source=("${url}files/${pkgname}-${pkgver}.tar.gz") +sha256sums=('1b3203e5f13b35a6f7ff163c26e4f42284a625fa30d3bdbfdafb6cccb1f33803') + +install=install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # setting capabilities/setuid is futile in fakeroot + # (we do that in the install script) + sed -i 's/ install-exec-hook//g' src/Makefile.in + + ./configure --prefix=/usr --enable-static=no + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |