@ -4,9 +4,8 @@ TERMUX_PKG_VERSION=2.20
TERMUX_PKG_SRCURL = http://patches.freeiz.com/alpine/release/src/alpine-${ TERMUX_PKG_VERSION } .tar.xz
TERMUX_PKG_SRCURL = http://patches.freeiz.com/alpine/release/src/alpine-${ TERMUX_PKG_VERSION } .tar.xz
#TERMUX_PKG_DEPENDS="pcre, openssl, libuuid"
#TERMUX_PKG_DEPENDS="pcre, openssl, libuuid"
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_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"
export TERMUX_HOST_PLATFORM = " ${ TERMUX_ARCH } -linux-android "
if [ $TERMUX_ARCH = "arm" ] ; then export TERMUX_HOST_PLATFORM = " ${ TERMUX_HOST_PLATFORM } eabi " ; fi
TERMUX_PKG_BUILD_IN_SRC = yes
TERMUX_PKG_BUILD_IN_SRC = yes
termux_step_pre_configure ( ) {
termux_step_pre_configure ( ) {
LDFLAGS += " -lcrypt -llog"
LDFLAGS += " -lcrypt -llog"
cp $TERMUX_PKG_BUILDER_DIR /getpass.c $TERMUX_PKG_SRCDIR /include/
cp $TERMUX_PKG_BUILDER_DIR /getpass.c $TERMUX_PKG_SRCDIR /include/
@ -14,9 +13,10 @@ LDFLAGS+=" -lcrypt -llog"
cd $TERMUX_PKG_SRCDIR
cd $TERMUX_PKG_SRCDIR
autoreconf -if
autoreconf -if
touch $TERMUX_PKG_SRCDIR /imap/lnxok
touch $TERMUX_PKG_SRCDIR /imap/lnxok
}
export TPATH = $PATH
export TPATH = $PATH
termux_step_pre_make ( ) {
}
termux_step_post_configure( ) {
cd pith
cd pith
$CC_FOR_BUILD help_c_gen.c -o help_c_gen
$CC_FOR_BUILD help_c_gen.c -o help_c_gen
$CC_FOR_BUILD help_h_gen.c -o help_h_gen
$CC_FOR_BUILD help_h_gen.c -o help_h_gen