# Maintainer: Florian "Bluewind" Pritz # Contributor: Hugo Doria pkgname=wireshark-cli pkgver=1.2.10 pkgrel=1 pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - no GUI" arch=('i686' 'x86_64') license=('GPL2') depends=('heimdal>=1.3.1' 'libpcap>=1.0.0' 'bash' 'gnutls>=2.4.1' 'libcap>=2.16') makedepends=('bison' 'flex') url="http://www.wireshark.org/" replaces=('ethereal') conflicts=('wireshark') options=(!libtool) source=(http://www.wireshark.org/download/src/wireshark-${pkgver}.tar.gz wireshark-1.1.2--as-needed.patch) build() { cd ${srcdir}/wireshark-${pkgver} export CFLAGS="-fno-unit-at-a-time ${CFLAGS}" patch -Np1 -i $srcdir/wireshark-1.1.2--as-needed.patch autoreconf -f -i ./configure --prefix=/usr --with-ssl --disable-wireshark --disable-gtktest make all make DESTDIR=${pkgdir} install } md5sums=('bddf081d9169402f8093bf4155f10e98' 'cc87d7eb31f256df751b3371b1c426e9')