Remove NDK gnu-libstdc from the docker image
[termux-packages] / packages / hydra / build.sh
1 TERMUX_PKG_HOMEPAGE=https://github.com/vanhauser-thc/thc-hydra
2 TERMUX_PKG_DESCRIPTION="Network logon cracker supporting different services"
3 TERMUX_PKG_VERSION=8.6
4 TERMUX_PKG_SHA256=05a87eb018507b24afca970081f067e64441460319fb75ca1e64c4a1f322b80b
5 TERMUX_PKG_SRCURL=https://github.com/vanhauser-thc/thc-hydra/archive/${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_BUILD_IN_SRC=yes
7 TERMUX_PKG_DEPENDS="openssl, pcre, libssh"
8
9 termux_step_configure() {
10 # Skip the ./configure file (which does not support cross compilation)
11 # and configure the build manually.
12 CFLAGS+=" -Dindex=strchr -DLIBOPENSSL -DNO_RINDEX -DHAVE_MATH_H -DHAVE_PCRE -DLIBSSH"
13 export MANDIR=/share/man/man1
14 export XLIBS="-lcrypto -lssl -lpcre -lssh"
15 cat Makefile.am | sed 's/^install:.*/install: all/' >> Makefile
16 }