termux-packages/root-packages/tshark/build.sh

23 lines
783 B
Bash
Raw Normal View History

2018-12-15 08:36:55 +01:00
TERMUX_PKG_HOMEPAGE=https://www.wireshark.org/
TERMUX_PKG_DESCRIPTION="Network protocol analyzer and sniffer"
2019-01-24 20:15:44 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Auxilus @Auxilus"
2019-07-14 22:41:47 +02:00
TERMUX_PKG_VERSION=3.0.2
TERMUX_PKG_SRCURL=https://www.wireshark.org/download/src/all-versions/wireshark-${TERMUX_PKG_VERSION}.tar.xz
2019-07-14 22:41:47 +02:00
TERMUX_PKG_SHA256=7e1ec5664a0dba4493d8729f9922378bdd05040fb159c2b03b42111efda2e53b
2019-05-10 08:38:32 +02:00
TERMUX_PKG_DEPENDS="glib, libgpg-error, libgcrypt, libnl, libpcap, libgnutls, openssl, libiconv"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_wireshark=OFF
-DENABLE_LUA=OFF
-DHAVE_LINUX_IF_BONDING_H=1
"
2019-05-23 08:41:49 +02:00
TERMUX_PKG_HOSTBUILD=yes
termux_step_host_build() {
gcc $TERMUX_PKG_SRCDIR/tools/lemon/lemon.c -o lemon
}
termux_step_pre_configure() {
2019-05-23 08:41:49 +02:00
export PATH=$TERMUX_PKG_HOSTBUILD_DIR:$PATH
}