2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.wireshark.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Network protocol analyzer"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
2019-01-23 22:18:28 +01:00
|
|
|
TERMUX_PKG_VERSION=2.6.6
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.wireshark.org/download/src/wireshark-${TERMUX_PKG_VERSION}.tar.xz
|
2019-01-23 22:18:28 +01:00
|
|
|
TERMUX_PKG_SHA256=487933ea075bdbb25d8df06017d9c4f49fc20eb7f6ec80af086718ed5550e863
|
2018-09-10 00:42:26 +02:00
|
|
|
|
2018-10-24 23:36:13 +02:00
|
|
|
TERMUX_PKG_DEPENDS="atk, c-ares, desktop-file-utils, gdk-pixbuf, glib, gtk3, hicolor-icon-theme, krb5, libandroid-shmem, libcairo-x, libgcrypt, libgnutls, libgpg-error, liblua52, liblz4, libmaxminddb, libnghttp2, libnl, libpcap, libssh, libxml2, pango-x"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="tshark, wireshark, wireshark-cli"
|
|
|
|
TERMUX_PKG_PROVIDES="tshark, wireshark, wireshark-cli"
|
|
|
|
TERMUX_PKG_REPLACES="tshark, wireshark, wireshark-cli"
|
|
|
|
|
2018-09-22 18:33:40 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-gtk=3 --with-qt=no"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2019-01-21 17:50:21 +01:00
|
|
|
export CFLAGS=$(echo $CFLAGS | sed 's@-Oz@-Os@g')
|
|
|
|
export LIBS=" -landroid-shmem"
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
2019-01-21 17:50:21 +01:00
|
|
|
## prebuild libwsutil & libwscodecs for target (needed for plugins/codecs/l16_mono)
|
|
|
|
cd ./wsutil && {
|
|
|
|
make
|
|
|
|
cd -
|
|
|
|
}
|
|
|
|
cd ./codecs && {
|
|
|
|
make
|
|
|
|
cd -
|
|
|
|
}
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|