Commit | Line | Data |
---|---|---|
59f0d218 | 1 | TERMUX_PKG_HOMEPAGE=https://www.midnight-commander.org/ |
4624c75b | 2 | TERMUX_PKG_DESCRIPTION="Midnight Commander - a powerful file manager" |
01ed1c43 | 3 | TERMUX_PKG_VERSION=4.8.19 |
59f0d218 | 4 | TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz" |
01ed1c43 | 5 | TERMUX_PKG_SHA256=eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df |
b4dab8e7 | 6 | TERMUX_PKG_DEPENDS="libandroid-support, ncurses, glib" |
59f0d218 | 7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses" |
eaf33403 FF |
8 | |
9 | termux_step_pre_configure() { | |
10 | # mc uses the deprecated S_IWRITE definition, which android does not define: | |
11 | # https://code.google.com/p/android/issues/detail?id=19710 | |
12 | CPPFLAGS+=" -DS_IWRITE=S_IWUSR" | |
13 | } |