blob: 64a3849653e3d7bed1da62e3af09eda5d6bf59ba (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=wireshark
pkgver=1.2.1
pkgrel=0
pkgdesc="A free network protocol analyzer for Unix/Linux and Windows formerly known as Ethereal"
url="http://www.wireshark.org"
license="GPLv2"
depends="libpcap gnutls bash heimdal"
makedepends="bison flex perl glib glib-dev pkgconfig libpcap-dev libcap-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.wireshark.org/download/src/${pkgname}-${pkgver}.tar.bz2"
# append extra dependencies to -dev subpackage
# remove if not used.
# depends_dev="somepackage-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-wireshark \
--disable-editcap \
--disable-mergecap \
--disable-text2pcap \
--disable-idl2wrs \
--disable-dftest \
--disable-randpkt
make || return 1
make DESTDIR="$pkgdir" install
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="957d1b11a6c9b305bcd106d4084ff71e wireshark-1.2.1.tar.bz2"
|