2016-11-07 18:08:31 -05:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/screen/
|
2015-07-30 10:52:56 -04:00
|
|
|
TERMUX_PKG_DESCRIPTION="Terminal multiplexer with VT100/ANSI terminal emulation"
|
2019-01-21 14:53:58 +02:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2019-10-06 00:47:07 +02:00
|
|
|
TERMUX_PKG_VERSION=4.7.0
|
2019-10-14 02:16:20 +03:00
|
|
|
TERMUX_PKG_REVISION=1
|
2016-11-07 18:08:31 -05:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/screen/screen-${TERMUX_PKG_VERSION}.tar.gz
|
2019-10-14 02:16:20 +03:00
|
|
|
TERMUX_PKG_SHA256=da775328fa783bd2a787d722014dbd99c6093effc11f337827604c2efc5d20c1
|
2019-03-04 17:01:58 +02: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-07 18:08:31 -05:00
|
|
|
|
2019-02-08 17:37:29 +08:00
|
|
|
termux_step_pre_configure() {
|
2016-11-07 18:08:31 -05:00
|
|
|
# Run autoreconf since we have patched configure.ac
|
|
|
|
autoconf
|
2016-12-21 12:58:47 +11:00
|
|
|
CFLAGS+=" -DGETUTENT"
|
additional libraries should be specified in `LIBS` instead of `LDFLAGS` if using autotools
Fixes on-device build for: alpine, autossh, direvent, heyu, krb5, msmtp, redir,
screen, socat, tinyproxy, tor.
2019-08-13 17:10:55 +03:00
|
|
|
export LIBS="-lcrypt -llog"
|
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-07 18:08:31 -05:00
|
|
|
}
|