2006-09-25 20:20:26 +02:00
|
|
|
# Description: Network Sniffer with nice GTK+ UI
|
2006-09-28 17:58:42 +02:00
|
|
|
# URL: http://www.wireshark.org
|
2012-06-20 16:10:23 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2006-09-25 20:20:26 +02:00
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
2015-10-03 21:30:30 +02:00
|
|
|
# Depends on: gtk3 libpcap libpcre hicolor-icon-theme
|
2006-09-25 20:20:26 +02:00
|
|
|
|
|
|
|
name=wireshark
|
2016-04-22 23:04:58 +02:00
|
|
|
version=2.0.3
|
2014-11-23 22:59:19 +01:00
|
|
|
release=1
|
2009-06-16 18:39:17 +02:00
|
|
|
source=(http://www.$name.org/download/src/all-versions/$name-$version.tar.bz2)
|
2006-09-25 20:20:26 +02:00
|
|
|
|
|
|
|
build() {
|
2014-11-13 22:00:51 +01:00
|
|
|
cd $name-$version
|
2006-09-25 20:20:26 +02:00
|
|
|
|
2014-11-13 22:00:51 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-plugins=/usr/lib/$name/plugins \
|
|
|
|
--without-krb5 \
|
2015-10-03 21:30:30 +02:00
|
|
|
--with-gtk3=yes \
|
|
|
|
--with-qt=no
|
2006-09-25 20:20:26 +02:00
|
|
|
|
2014-11-13 22:00:51 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-09-25 20:20:26 +02:00
|
|
|
|
2014-11-13 22:00:51 +01:00
|
|
|
# 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
|
2006-09-25 20:20:26 +02:00
|
|
|
|
2014-11-13 22:00:51 +01:00
|
|
|
# Don't remove these files, they are read by wireshark's about box.
|
|
|
|
#rm -f $PKG/usr/share/$name/{AUTHORS-SHORT,COPYING}
|
2006-09-25 20:20:26 +02:00
|
|
|
}
|