mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
815 B
Bash
24 lines
815 B
Bash
|
# $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
|
||
|
}
|