opt/wireshark/Pkgfile

24 lines
634 B
Plaintext
Raw Normal View History

2019-05-19 22:26:47 +02:00
# Description: Network Sniffer
# URL: https://www.wireshark.org
2012-06-20 16:10:23 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: c-ares hicolor-icon-theme libgcrypt libpcap qt5
name=wireshark
version=3.4.0
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 \
2020-07-11 09:39:19 +02:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
2020-05-24 14:53:43 +02:00
cmake --build build
2020-07-08 15:14:57 +02:00
DESTDIR=$PKG cmake --install build
# 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
}