opt/wireshark/Pkgfile

23 lines
607 B
Plaintext
Raw Normal View History

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
2020-05-24 14:53:43 +02:00
# Depends on: hicolor-icon-theme libgcrypt libpcap qt5
name=wireshark
2020-05-24 14:53:43 +02:00
version=3.2.4
2014-11-23 22:59:19 +01:00
release=1
2020-05-24 14:53:43 +02:00
source=(https://www.wireshark.org/download/src/$name-$version.tar.xz)
build() {
2020-05-24 14:53:43 +02:00
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr
2020-05-24 14:53:43 +02:00
cmake --build build
DESTDIR=$PKG cmake --build build --target install
# 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
}