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