summaryrefslogtreecommitdiff
path: root/community/ngrep/PKGBUILD
blob: d7063e9d4e558438b8b1db510f4827a321f7a1ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}