2018-12-15 08:36:55 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.wireshark.org/
|
2018-12-09 17:39:42 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Network protocol analyzer and sniffer"
|
2019-01-24 20:15:44 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-03-01 22:13:50 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-08-28 14:33:21 +02:00
|
|
|
TERMUX_PKG_VERSION=3.4.8
|
2022-03-23 13:47:44 +01:00
|
|
|
TERMUX_PKG_REVISION=3
|
2018-12-09 17:39:42 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://www.wireshark.org/download/src/all-versions/wireshark-${TERMUX_PKG_VERSION}.tar.xz
|
2021-08-28 14:33:21 +02:00
|
|
|
TERMUX_PKG_SHA256=58a7fa8dfe2010a8c8b7dcf66438c653e6493d47eb936ba48ef49d4aa4dbd725
|
2021-01-05 09:14:52 +01:00
|
|
|
TERMUX_PKG_DEPENDS="glib, libgpg-error, libgcrypt, libnl, libpcap, libgnutls, openssl, libiconv, libcap, c-ares"
|
2019-07-29 09:27:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="tshark-dev"
|
|
|
|
TERMUX_PKG_REPLACES="tshark-dev"
|
2019-03-04 23:54:03 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DBUILD_wireshark=OFF
|
|
|
|
-DENABLE_LUA=OFF
|
2019-05-22 21:55:05 +02:00
|
|
|
-DHAVE_LINUX_IF_BONDING_H=1
|
2018-09-29 10:17:52 +02:00
|
|
|
"
|
2019-08-13 15:25:48 +02:00
|
|
|
TERMUX_PKG_HOSTBUILD=true
|
2019-05-23 08:41:49 +02:00
|
|
|
|
|
|
|
termux_step_host_build() {
|
|
|
|
gcc $TERMUX_PKG_SRCDIR/tools/lemon/lemon.c -o lemon
|
2019-05-24 23:02:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2019-05-23 08:41:49 +02:00
|
|
|
export PATH=$TERMUX_PKG_HOSTBUILD_DIR:$PATH
|
|
|
|
}
|