Commit | Line | Data |
---|---|---|
6254c89c VB |
1 | TERMUX_PKG_HOMEPAGE=https://web.mit.edu/kerberos |
2 | TERMUX_PKG_DESCRIPTION="The Kerberos network authentication system" | |
3 | TERMUX_PKG_VERSION=1.15.1 | |
47463899 | 4 | TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, readline, c-ares, openssl, libutil" |
6254c89c VB |
5 | TERMUX_PKG_SRCURL="https://web.mit.edu/kerberos/dist/krb5/1.15/krb5-$TERMUX_PKG_VERSION.tar.gz" |
6 | TERMUX_PKG_SHA256=437c8831ddd5fde2a993fef425dedb48468109bb3d3261ef838295045a89eb45 | |
e38a1e2b | 7 | TERMUX_PKG_FOLDERNAME="krb5-$TERMUX_PKG_VERSION/src" |
6254c89c VB |
8 | TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" |
9 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-readline --with-netlib=-lcares --without-system-verto" | |
e38a1e2b VB |
10 | |
11 | termux_step_pre_configure () { | |
12 | # cannot test these when cross compiling | |
13 | export krb5_cv_attr_constructor_destructor='yes,yes' | |
14 | export ac_cv_func_regcomp='yes' | |
15 | export ac_cv_printf_positional='yes' | |
16 | ||
e38a1e2b VB |
17 | # bionic doesn't have getpass |
18 | cp "$TERMUX_PKG_BUILDER_DIR/netbsd_getpass.c" "$TERMUX_PKG_SRCDIR/clients/kpasswd/" | |
19 | ||
20 | LDFLAGS="$LDFLAGS -landroid-glob -llog" | |
21 | } |