Juergen Daubert
178bd1512e
includes one security fix, see https://www.wireshark.org/docs/relnotes/wireshark-3.4.2.html
27 lines
756 B
Plaintext
27 lines
756 B
Plaintext
# Description: Network Sniffer
|
|
# URL: https://www.wireshark.org
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: c-ares hicolor-icon-theme libgcrypt libpcap qt5
|
|
|
|
name=wireshark
|
|
version=3.4.2
|
|
release=1
|
|
source=(https://www.wireshark.org/download/src/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cmake -S$name-$version -Bbuild -GNinja \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=lib
|
|
|
|
cmake --build build
|
|
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}
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|