2015-11-19 23:53:41 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://w3m.sourceforge.net/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Text based Web browser and pager"
|
2017-01-11 17:53:33 +01:00
|
|
|
_MAJOR_VERSION=0.5.3
|
|
|
|
_MINOR_VERSION=20170102
|
|
|
|
TERMUX_PKG_VERSION=0.5.3.$_MINOR_VERSION
|
|
|
|
# The upstream w3m project is dead, but every linux distribution uses
|
|
|
|
# this maintained fork in debian:
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/tats/w3m/archive/v${_MAJOR_VERSION}+git${_MINOR_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=7eb8cadfa39daa6e8ecf8244847991f614fdc5319e601f58fc02956bc05b5ab1
|
|
|
|
TERMUX_PKG_FOLDERNAME=w3m-${_MAJOR_VERSION}-git${_MINOR_VERSION}
|
2015-11-19 23:53:41 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
TERMUX_PKG_DEPENDS="libgc, ncurses, openssl"
|
2016-01-04 12:31:29 +01:00
|
|
|
# ac_cv_func_bcopy=yes to avoid w3m defining it's own bcopy function, which
|
|
|
|
# breaks 64-bit builds where NDK headers define bcopy as a mactro:
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes ac_cv_func_bcopy=yes"
|
2016-05-12 23:21:01 +02:00
|
|
|
|
|
|
|
# For Makefile.in.patch:
|
|
|
|
export TERMUX_PKG_BUILDER_DIR
|