36 lines
927 B
Plaintext
36 lines
927 B
Plaintext
# Description: Network Sniffer with nice GTK+ UI
|
|
# URL: http://www.wireshark.org
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: gtk libpcap libpcre
|
|
|
|
name=wireshark
|
|
version=1.0.6
|
|
release=1
|
|
source=(http://www.$name.org/download/src/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--with-plugins=/usr/lib/$name/plugins \
|
|
--disable-nls \
|
|
--enable-snmp \
|
|
--enable-gtk2 \
|
|
--disable-gcry \
|
|
--without-krb5
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
# install some icons
|
|
install -d $PKG/usr/share/$name/pixmaps
|
|
install -m 644 \
|
|
image/{hi,lo}{16,32,48}-app-$name.png \
|
|
$PKG/usr/share/$name/pixmaps
|
|
|
|
# Don't remove these files, they are read by wireshark's about box.
|
|
#rm -f $PKG/usr/share/$name/{AUTHORS-SHORT,COPYING}
|
|
}
|