opt/wireshark/Pkgfile
2017-06-17 21:17:18 +02:00

32 lines
856 B
Plaintext

# Description: Network Sniffer with nice GTK+ UI
# URL: http://www.wireshark.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Martin Opel, mo at obbl-net dot de
# Depends on: gtk3 libpcap libpcre hicolor-icon-theme
name=wireshark
version=2.2.7
release=1
source=(https://www.$name.org/download/src/all-versions/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--with-plugins=/usr/lib/$name/plugins \
--without-krb5 \
--with-qt=no
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}
}