blob: 75abf1b3f6cd6b8b88cb406bd4ffedfa499b8da6 (
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' 'mips64el')
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
}
|