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

17 lines
684 B
Bash
Raw Normal View History

2017-11-04 05:50:50 +01:00
TERMUX_PKG_MAINTAINER="Auxilus @Auxilus"
2018-12-15 08:36:55 +01:00
TERMUX_PKG_HOMEPAGE=https://www.wireshark.org/
TERMUX_PKG_DESCRIPTION="Network protocol analyzer and sniffer"
TERMUX_PKG_VERSION=2.6.5
TERMUX_PKG_SRCURL=https://www.wireshark.org/download/src/all-versions/wireshark-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=93155b798544b2f07693920f4ac1b531c952965ee4eb1d98419961240177438a
2019-01-20 04:36:03 +01:00
TERMUX_PKG_DEPENDS="glib, libgpg-error, libgcrypt, libnl, libpcap, libgnutls, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-qt=no
--disable-wireshark
--with-lua=no
"
2017-11-04 05:50:50 +01:00
termux_step_pre_configure () {
./autogen.sh
LDFLAGS+=" -L$TERMUX_PKG_BUILDDIR/wsutil/.libs -L$TERMUX_PKG_BUILDDIR/epan/.libs" #A bit hacky...
2017-11-04 05:50:50 +01:00
}