termux-packages/packages/mc/build.sh

14 lines
675 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=https://www.midnight-commander.org/
2015-07-04 14:56:17 +02:00
TERMUX_PKG_DESCRIPTION="Midnight Commander - a powerful file manager"
2017-03-07 14:31:35 +01:00
TERMUX_PKG_VERSION=4.8.19
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz"
2017-03-07 14:31:35 +01:00
TERMUX_PKG_SHA256=eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df
2016-03-15 03:15:40 +01:00
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, glib"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses"
2016-09-04 00:15:47 +02:00
termux_step_pre_configure() {
# mc uses the deprecated S_IWRITE definition, which android does not define:
# https://code.google.com/p/android/issues/detail?id=19710
CPPFLAGS+=" -DS_IWRITE=S_IWUSR"
}