gnuit: Depend on libandroid-support properly

This commit is contained in:
Fredrik Fornwall 2019-05-30 00:18:20 +02:00
parent 94a267fdc9
commit 8e9cb8293d

View File

@ -5,10 +5,8 @@ TERMUX_PKG_VERSION=4.9.5
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gnuit/gnuit-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gnuit/gnuit-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6b6e96db13bafa5ad35c735b2277699d4244088c709a3e134fb1a3e8c8a8557c TERMUX_PKG_SHA256=6b6e96db13bafa5ad35c735b2277699d4244088c709a3e134fb1a3e8c8a8557c
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-transition" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-transition"
TERMUX_PKG_DEPENDS="ncurses" TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
termux_step_pre_configure() {
LDFLAGS+=" -landroid-support"
}
termux_step_post_massage() { termux_step_post_massage() {
cd $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/share/gnuit cd $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/share/gnuit
ln -s gnuitrc.xterm-color gnuitrc.xterm-256color ln -s gnuitrc.xterm-color gnuitrc.xterm-256color