libandroid-support: Remove unused wcwidth.c
[termux-packages] / packages / screen / build.sh
1 TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/screen/
2 TERMUX_PKG_DESCRIPTION="Terminal multiplexer with VT100/ANSI terminal emulation"
3 TERMUX_PKG_VERSION=4.6.1
4 TERMUX_PKG_SHA256=aba9af66cb626155d6abce4703f45cce0e30a5114a368bd6387c966cbbbb7c64
5 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/screen/screen-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_DEPENDS="ncurses, libcrypt, libutil"
7 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
8 --disable-socket-dir
9 --enable-colors256
10 --with-ssl=openssl
11 "
12
13 termux_step_pre_configure () {
14 # Run autoreconf since we have patched configure.ac
15 autoconf
16 CFLAGS+=" -DGETUTENT"
17 LDFLAGS+=" -llog -lcrypt"
18 }
19
20 termux_step_post_configure() {
21 echo '#define HAVE_SVR4_PTYS 1' >> $TERMUX_PKG_BUILDDIR/config.h
22 echo 'mousetrack on' > "$TERMUX_PREFIX/etc/screenrc"
23 }