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

20 lines
839 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-04-01 22:21:24 +02:00
TERMUX_PKG_VERSION=2.6.7
TERMUX_PKG_SRCURL=https://www.wireshark.org/download/src/all-versions/wireshark-${TERMUX_PKG_VERSION}.tar.xz
2019-04-01 22:33:19 +02:00
TERMUX_PKG_SHA256=747b3e7a37414942959f76f198be49dcbcca936bda538c4408942ce71bfd2b71
2019-01-20 04:36:03 +01:00
TERMUX_PKG_DEPENDS="glib, libgpg-error, libgcrypt, libnl, libpcap, libgnutls, openssl"
2019-01-20 11:57:01 +01:00
# Needed by pkg-config (since they are dependenies for libgnutls and glib)
TERMUX_PKG_BUILD_DEPENDS="pcre-dev, libnettle-dev"
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
}