| 1 | TERMUX_PKG_HOMEPAGE=http://patches.freeiz.com |
| 2 | TERMUX_PKG_DESCRIPTION="Fast, easy to use email client" |
| 3 | TERMUX_PKG_VERSION=2.20 |
| 4 | TERMUX_PKG_SRCURL=http://patches.freeiz.com/alpine/release/src/alpine-${TERMUX_PKG_VERSION}.tar.xz |
| 5 | #TERMUX_PKG_DEPENDS="pcre, openssl, libuuid" |
| 6 | 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" |
| 7 | TERMUX_PKG_BUILD_IN_SRC=yes |
| 8 | |
| 9 | termux_step_pre_configure () { |
| 10 | LDFLAGS+=" -lcrypt -llog" |
| 11 | cp $TERMUX_PKG_BUILDER_DIR/getpass.c $TERMUX_PKG_SRCDIR/include/ |
| 12 | cp $TERMUX_PKG_BUILDER_DIR/getpass.h $TERMUX_PKG_SRCDIR/include/ |
| 13 | cd $TERMUX_PKG_SRCDIR |
| 14 | autoreconf -if |
| 15 | touch $TERMUX_PKG_SRCDIR/imap/lnxok |
| 16 | export TPATH=$PATH |
| 17 | } |
| 18 | |
| 19 | termux_step_post_configure() { |
| 20 | cd pith |
| 21 | $CC_FOR_BUILD help_c_gen.c -o help_c_gen |
| 22 | $CC_FOR_BUILD help_h_gen.c -o help_h_gen |
| 23 | } |