Update from NDK version used from r15b to r15c
[termux-packages] / packages / w3m / build.sh
CommitLineData
ecb2ad16
FF
1TERMUX_PKG_HOMEPAGE=http://w3m.sourceforge.net/
2TERMUX_PKG_DESCRIPTION="Text based Web browser and pager"
1094cd45
FF
3_MAJOR_VERSION=0.5.3
4_MINOR_VERSION=20170102
5TERMUX_PKG_VERSION=0.5.3.$_MINOR_VERSION
6# The upstream w3m project is dead, but every linux distribution uses
7# this maintained fork in debian:
8TERMUX_PKG_SRCURL=https://github.com/tats/w3m/archive/v${_MAJOR_VERSION}+git${_MINOR_VERSION}.tar.gz
9TERMUX_PKG_SHA256=7eb8cadfa39daa6e8ecf8244847991f614fdc5319e601f58fc02956bc05b5ab1
10TERMUX_PKG_FOLDERNAME=w3m-${_MAJOR_VERSION}-git${_MINOR_VERSION}
ecb2ad16
FF
11TERMUX_PKG_BUILD_IN_SRC=yes
12TERMUX_PKG_DEPENDS="libgc, ncurses, openssl"
6c79834f 13# ac_cv_func_bcopy=yes to avoid w3m defining it's own bcopy function, which
bccd6e27 14# breaks 64-bit builds where NDK headers define bcopy as a macro:
6c79834f 15TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes ac_cv_func_bcopy=yes"
ee7d67ae
FF
16
17# For Makefile.in.patch:
18export TERMUX_PKG_BUILDER_DIR