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"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-02-10 13:16:53 +01:00
|
|
|
TERMUX_PKG_VERSION=4.8.0
|
2016-11-08 00:08:31 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/screen/screen-${TERMUX_PKG_VERSION}.tar.gz
|
2020-02-10 13:16:53 +01:00
|
|
|
TERMUX_PKG_SHA256=6e11b13d8489925fde25dfb0935bf6ed71f9eb47eff233a181e078fde5655aa1
|
2019-03-04 16:01:58 +01:00
|
|
|
TERMUX_PKG_DEPENDS="ncurses, libcrypt"
|
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
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2016-11-08 00:08:31 +01:00
|
|
|
# Run autoreconf since we have patched configure.ac
|
|
|
|
autoconf
|
2016-12-21 02:58:47 +01:00
|
|
|
CFLAGS+=" -DGETUTENT"
|
2019-12-30 00:16:07 +01:00
|
|
|
export LIBS="-lcrypt"
|
2017-04-24 23:43:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|