texinfo: Update from 6.3 to 6.4
[termux-packages] / packages / hydra / build.sh
CommitLineData
236d269a
FF
1TERMUX_PKG_HOMEPAGE=https://github.com/vanhauser-thc/thc-hydra
2TERMUX_PKG_DESCRIPTION="Network logon cracker supporting different services"
206a8164 3TERMUX_PKG_VERSION=8.5
236d269a 4TERMUX_PKG_SRCURL=https://github.com/vanhauser-thc/thc-hydra/archive/v${TERMUX_PKG_VERSION}.tar.gz
206a8164 5TERMUX_PKG_SHA256=69b69d16ce9499f3a941836b4d8a1c8a3ff9b905c921cc8c588a3af7f65a3b4b
236d269a
FF
6TERMUX_PKG_FOLDERNAME=thc-hydra-$TERMUX_PKG_VERSION
7TERMUX_PKG_BUILD_IN_SRC=yes
cc5964a4 8TERMUX_PKG_DEPENDS="openssl, pcre, libssh"
236d269a
FF
9
10termux_step_configure() {
11 # Skip the ./configure file (which does not support cross compilation)
12 # and configure the build manually.
cc5964a4 13 CFLAGS+=" -Dindex=strchr -DLIBOPENSSL -DNO_RINDEX -DHAVE_MATH_H -DHAVE_PCRE -DLIBSSH"
236d269a 14 export MANDIR=/share/man/man1
cc5964a4 15 export XLIBS="-lcrypto -lssl -lpcre -lssh"
236d269a
FF
16 cat Makefile.am | sed 's/^install:.*/install: all/' >> Makefile
17}