opt/wireshark/Pkgfile
2017-09-25 23:14:41 +02:00

33 lines
876 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.4.1
release=1
source=(https://1.eu.dl.wireshark.org/src/wireshark-$version.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--with-plugins=/usr/lib/$name/plugins \
--without-krb5 \
--with-qt=no \
--with-gtk=yes
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}
}