summaryrefslogtreecommitdiffstats
path: root/wireshark-cli/PKGBUILD
blob: 45142dc901a1fd73df13a4e1d1df87d8bd80c55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Florian "Bluewind" Pritz <flo@xssn.at>
# Contributor: Hugo Doria <hugo@archlinux.org>

pkgname=wireshark-cli
pkgver=1.4.0
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.bz2)

build() {
  cd ${srcdir}/wireshark-${pkgver}
  export CFLAGS="-fno-unit-at-a-time ${CFLAGS}"

  autoreconf -f -i

  ./configure --prefix=/usr --with-ssl --disable-wireshark --disable-gtktest
  make all
  make DESTDIR=${pkgdir} install
}
md5sums=('13b188baea23cdad40b7a55921384a77')