2006-09-25 18:20:26 +00:00
|
|
|
# Description: Network Sniffer with nice GTK+ UI
|
2006-09-28 15:58:42 +00: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 18:20:26 +00: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 18:20:26 +00:00
|
|
|
|
|
|
|
name=wireshark
|
2017-09-25 23:14:41 +02:00
|
|
|
version=2.4.1
|
2014-11-23 22:59:19 +01:00
|
|
|
release=1
|
2017-09-25 23:14:41 +02:00
|
|
|
source=(https://1.eu.dl.wireshark.org/src/wireshark-$version.tar.xz)
|
2006-09-25 18:20:26 +00:00
|
|
|
|
|
|
|
build() {
|
2014-11-13 22:00:51 +01:00
|
|
|
cd $name-$version
|
2006-09-25 18:20:26 +00:00
|
|
|
|
2014-11-13 22:00:51 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-plugins=/usr/lib/$name/plugins \
|
|
|
|
--without-krb5 \
|
2017-09-25 23:14:41 +02:00
|
|
|
--with-qt=no \
|
|
|
|
--with-gtk=yes
|
2006-09-25 18:20:26 +00:00
|
|
|
|
2014-11-13 22:00:51 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-09-25 18:20:26 +00: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 18:20:26 +00: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 18:20:26 +00:00
|
|
|
}
|