diff options
Diffstat (limited to 'community/ngrep')
-rw-r--r-- | community/ngrep/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/ngrep/PKGBUILD b/community/ngrep/PKGBUILD new file mode 100644 index 000000000..d7063e9d4 --- /dev/null +++ b/community/ngrep/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 20363 2008-12-03 00:59:17Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> + +pkgname=ngrep +pkgver=1.45 +pkgrel=5 +pkgdesc="A grep-like utility that allows you to search for network packets on an interface" +arch=('i686' 'x86_64') +url="http://ngrep.sourceforge.net/" +license=('custom') +depends=('libpcap>=1.0.0') +source=(http://downloads.sourceforge.net/sourceforge/ngrep/ngrep-${pkgver}.tar.bz2) +md5sums=('bc8150331601f3b869549c94866b4f1c') +sha1sums=('f26090a6ac607db66df99c6fa9aef74968f3330f') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap + make || return 1 + make DESTDIR=${pkgdir} install + install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt +} |