termux-packages/packages/mc/build.sh

11 lines
572 B
Bash
Raw Normal View History

2015-11-21 00:04:00 +01:00
TERMUX_PKG_VERSION=4.8.15
2015-12-02 11:58:47 +01:00
TERMUX_PKG_BUILD_REVISION=1
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"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz"
TERMUX_PKG_DEPENDS="ncurses, glib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses"
2015-12-08 08:46:43 +01:00
# mc uses the deprecated S_IWRITE definition, which android does not define:
2015-06-13 01:03:31 +02:00
# https://code.google.com/p/android/issues/detail?id=19710
2015-12-08 08:46:43 +01:00
CPPFLAGS="$CPPFLAGS -DS_IWRITE=S_IWUSR"