termux-packages/packages/rlwrap/build.sh

9 lines
499 B
Bash

TERMUX_PKG_HOMEPAGE=http://utopia.knoware.nl/~hlub/rlwrap/
TERMUX_PKG_DESCRIPTION="Wrapper using readline to enable editing of keyboard input for commands"
TERMUX_PKG_VERSION=0.42
TERMUX_PKG_SRCURL=http://utopia.knoware.nl/~hlub/rlwrap/rlwrap-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ptyttylib_cv_ptys=STREAMS ac_cv_func_grantpt=yes ac_cv_func_unlockpt=yes"
# Avoid linking to libutil:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_util_openpty=no"
TERMUX_PKG_DEPENDS="readline"