X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/7efa6912263fe8f43afb325875e5567f5c9df005..4c29be99e4782b5a8936fea779a23fdbb6185f71:/disabled-packages/alpine/build.sh diff --git a/disabled-packages/alpine/build.sh b/disabled-packages/alpine/build.sh index e2ef856f..c1c3c458 100644 --- a/disabled-packages/alpine/build.sh +++ b/disabled-packages/alpine/build.sh @@ -3,10 +3,21 @@ TERMUX_PKG_DESCRIPTION="Fast, easy to use email client" TERMUX_PKG_VERSION=2.20 TERMUX_PKG_SRCURL=http://patches.freeiz.com/alpine/release/src/alpine-${TERMUX_PKG_VERSION}.tar.xz #TERMUX_PKG_DEPENDS="pcre, openssl, libuuid" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-tcl --without-ldap --without-krb5 --disable-debug" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-c-client-target=lnx --without-pthread --without-password-prog --without-tcl --without-ldap --without-krb5 --disable-debug --with-system-pinerc=/data/data/com.termux/files/usr/etc/pine.conf --with-password-prog=no" TERMUX_PKG_BUILD_IN_SRC=yes termux_step_pre_configure () { + LDFLAGS+=" -lcrypt -llog" + cp $TERMUX_PKG_BUILDER_DIR/getpass.c $TERMUX_PKG_SRCDIR/include/ + cp $TERMUX_PKG_BUILDER_DIR/getpass.h $TERMUX_PKG_SRCDIR/include/ cd $TERMUX_PKG_SRCDIR - autoconf + autoreconf -if + touch $TERMUX_PKG_SRCDIR/imap/lnxok + export TPATH=$PATH +} + +termux_step_post_configure() { + cd pith + $CC_FOR_BUILD help_c_gen.c -o help_c_gen + $CC_FOR_BUILD help_h_gen.c -o help_h_gen }