2016-11-08 00:08:31 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/screen/
|
2015-07-30 16:52:56 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Terminal multiplexer with VT100/ANSI terminal emulation"
|
2017-10-25 14:31:03 +02:00
|
|
|
TERMUX_PKG_VERSION=4.6.2
|
2018-12-28 12:57:38 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2017-10-25 14:31:03 +02:00
|
|
|
TERMUX_PKG_SHA256=1b6922520e6a0ce5e28768d620b0f640a6631397f95ccb043b70b91bb503fa3a
|
2016-11-08 00:08:31 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/screen/screen-${TERMUX_PKG_VERSION}.tar.gz
|
2017-06-30 21:30:15 +02:00
|
|
|
TERMUX_PKG_DEPENDS="ncurses, libcrypt, libutil"
|
2017-04-24 23:43:11 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-socket-dir
|
|
|
|
--enable-colors256
|
|
|
|
--with-ssl=openssl
|
|
|
|
"
|
2016-11-08 00:08:31 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure () {
|
|
|
|
# Run autoreconf since we have patched configure.ac
|
|
|
|
autoconf
|
2016-12-21 02:58:47 +01:00
|
|
|
CFLAGS+=" -DGETUTENT"
|
2017-04-24 23:43:11 +02:00
|
|
|
LDFLAGS+=" -llog -lcrypt"
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
|
|
|
echo '#define HAVE_SVR4_PTYS 1' >> $TERMUX_PKG_BUILDDIR/config.h
|
|
|
|
echo 'mousetrack on' > "$TERMUX_PREFIX/etc/screenrc"
|
2016-11-08 00:08:31 +01:00
|
|
|
}
|