2019-05-19 22:26:47 +02:00
|
|
|
# Description: Network Sniffer
|
|
|
|
# URL: http://www.wireshark.org
|
2012-06-20 16:10:23 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2019-05-19 22:26:47 +02:00
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
|
|
|
# Depends on: qt5 libpcap libpcre hicolor-icon-theme libgcrypt
|
2006-09-25 18:20:26 +00:00
|
|
|
|
|
|
|
name=wireshark
|
2020-02-14 20:21:39 +01:00
|
|
|
version=3.2.1
|
2014-11-23 22:59:19 +01:00
|
|
|
release=1
|
2019-05-19 22:26:47 +02:00
|
|
|
source=(https://1.eu.dl.wireshark.org/src/all-versions/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
|
|
|
|
2019-05-19 22:26:47 +02:00
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
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
|
|
|
# Don't remove these files, they are read by wireshark's about box.
|
|
|
|
#rm -f $PKG/usr/share/$name/{AUTHORS-SHORT,COPYING}
|
2019-05-19 22:26:47 +02:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
2006-09-25 18:20:26 +00:00
|
|
|
}
|