Commit | Line | Data |
---|---|---|
236d269a FF |
1 | TERMUX_PKG_HOMEPAGE=https://github.com/vanhauser-thc/thc-hydra |
2 | TERMUX_PKG_DESCRIPTION="Network logon cracker supporting different services" | |
b1fe43e4 FF |
3 | TERMUX_PKG_VERSION=8.6.20180104 |
4 | TERMUX_PKG_SHA256=794e5e10e32c9ef3eaf20bbefc0348b997bbb3824dda6de3b5aab91f49beec31 | |
5 | TERMUX_PKG_SRCURL=https://github.com/vanhauser-thc/thc-hydra/archive/9597bafb178a57f839502abdd3d62b0b43028993.zip | |
236d269a | 6 | TERMUX_PKG_BUILD_IN_SRC=yes |
cc5964a4 | 7 | TERMUX_PKG_DEPENDS="openssl, pcre, libssh" |
236d269a FF |
8 | |
9 | termux_step_configure() { | |
10 | # Skip the ./configure file (which does not support cross compilation) | |
11 | # and configure the build manually. | |
cc5964a4 | 12 | CFLAGS+=" -Dindex=strchr -DLIBOPENSSL -DNO_RINDEX -DHAVE_MATH_H -DHAVE_PCRE -DLIBSSH" |
236d269a | 13 | export MANDIR=/share/man/man1 |
cc5964a4 | 14 | export XLIBS="-lcrypto -lssl -lpcre -lssh" |
236d269a FF |
15 | cat Makefile.am | sed 's/^install:.*/install: all/' >> Makefile |
16 | } |