2019-05-19 22:26:47 +02:00
|
|
|
# Description: Network Sniffer
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://www.wireshark.org
|
2012-06-20 16:10:23 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2020-07-11 17:39:19 +10:00
|
|
|
# Depends on: hicolor-icon-theme libgcrypt libpcap qt5
|
2006-09-25 18:20:26 +00:00
|
|
|
|
|
|
|
name=wireshark
|
2020-07-11 17:39:19 +10:00
|
|
|
version=3.2.5
|
2014-11-23 22:59:19 +01:00
|
|
|
release=1
|
2020-05-24 22:53:43 +10:00
|
|
|
source=(https://www.wireshark.org/download/src/$name-$version.tar.xz)
|
2006-09-25 18:20:26 +00:00
|
|
|
|
|
|
|
build() {
|
2020-05-24 22:53:43 +10:00
|
|
|
cmake -S$name-$version -Bbuild -GNinja \
|
2020-07-11 17:39:19 +10:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2006-09-25 18:20:26 +00:00
|
|
|
|
2020-05-24 22:53:43 +10:00
|
|
|
cmake --build build
|
2020-07-08 23:14:57 +10:00
|
|
|
DESTDIR=$PKG cmake --install build
|
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
|
|
|
}
|