Update libgnutls from 3.4.1 to 3.4.2
[termux-packages] / packages / mc / build.sh
1 TERMUX_PKG_VERSION=4.8.14
2 TERMUX_PKG_HOMEPAGE=https://www.midnight-commander.org/
3 TERMUX_PKG_DESCRIPTION="Midnight Commander: Feature-rich text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell, with included internal viewer and editor"
4 TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz"
5 TERMUX_PKG_DEPENDS="ncurses, glib"
6 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses"
7 # mc uses the deprecated S_IREAD and S_IWRITE definitions, which android does not define:
8 # https://code.google.com/p/android/issues/detail?id=19710
9 CPPFLAGS="$CPPFLAGS -DS_IREAD=S_IRUSR -DS_IWRITE=S_IWUSR"