summaryrefslogtreecommitdiff
path: root/community/ngrep/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ngrep/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ngrep/PKGBUILD')
-rw-r--r--community/ngrep/PKGBUILD23
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
+}