s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/
[termux-packages] / packages / rlwrap / build.sh
1 TERMUX_PKG_HOMEPAGE=https://github.com/hanslub42/rlwrap
2 TERMUX_PKG_DESCRIPTION="Wrapper using readline to enable editing of keyboard input for commands"
3 TERMUX_PKG_VERSION=0.42
4 TERMUX_PKG_REVISION=1
5 TERMUX_PKG_SRCURL=https://fossies.org/linux/privat/rlwrap-${TERMUX_PKG_VERSION}.tar.xz
6 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ptyttylib_cv_ptys=STREAMS ac_cv_func_grantpt=yes ac_cv_func_unlockpt=yes"
7 # Avoid linking to libutil:
8 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_util_openpty=no"
9 TERMUX_PKG_DEPENDS="readline"