diff options
author | root <root@rshg047.dnsready.net> | 2011-04-12 10:53:36 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-12 10:53:36 +0000 |
commit | 28b5bbf3fee0627993658e096eadab71c2779912 (patch) | |
tree | b799e892101aaaedafdcf1315c4def0ff6bdc1c4 /community/ngrep/PKGBUILD | |
parent | cabd4a9c1f8304f0d57005b9f31231fc191c8778 (diff) |
Tue Apr 12 10:53:36 UTC 2011
Diffstat (limited to 'community/ngrep/PKGBUILD')
-rw-r--r-- | community/ngrep/PKGBUILD | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/community/ngrep/PKGBUILD b/community/ngrep/PKGBUILD index d7063e9d4..e6bc0d3d1 100644 --- a/community/ngrep/PKGBUILD +++ b/community/ngrep/PKGBUILD @@ -1,23 +1,29 @@ -# $Id: PKGBUILD 20363 2008-12-03 00:59:17Z eric $ -# Maintainer: Eric Belanger <eric@archlinux.org> +# $Id: PKGBUILD 44742 2011-04-11 13:48:14Z lfleischer $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: 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" +pkgrel=6 +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/" +url='http://ngrep.sourceforge.net/' license=('custom') depends=('libpcap>=1.0.0') -source=(http://downloads.sourceforge.net/sourceforge/ngrep/ngrep-${pkgver}.tar.bz2) +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${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 + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap --enable-ipv6 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } |