mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-28 22:50:12 +00:00
25 lines
818 B
Bash
25 lines
818 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/screen/
|
|
TERMUX_PKG_DESCRIPTION="Terminal multiplexer with VT100/ANSI terminal emulation"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="4.9.1"
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/screen/screen-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=26cef3e3c42571c0d484ad6faf110c5c15091fbf872b06fa7aa4766c7405ac69
|
|
TERMUX_PKG_DEPENDS="ncurses, libcrypt"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--disable-socket-dir
|
|
--enable-colors256
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
# Run autoreconf since we have patched configure.ac
|
|
autoreconf -fi
|
|
CFLAGS+=" -DGETUTENT"
|
|
export LIBS="-lcrypt"
|
|
}
|
|
|
|
termux_step_post_configure() {
|
|
echo '#define HAVE_SVR4_PTYS 1' >> $TERMUX_PKG_BUILDDIR/config.h
|
|
echo 'mousetrack on' > "$TERMUX_PREFIX/etc/screenrc"
|
|
}
|