termux-packages/packages/m4/build.sh

20 lines
679 B
Bash
Raw Normal View History

2018-05-25 12:38:52 +02:00
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/m4/m4.html
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Traditional Unix macro processor"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-08-06 13:45:18 +02:00
TERMUX_PKG_VERSION=1.4.19
2022-02-19 20:13:16 +01:00
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/m4/m4-${TERMUX_PKG_VERSION}.tar.xz
2021-08-06 13:45:18 +02:00
TERMUX_PKG_SHA256=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
2022-02-19 20:13:16 +01:00
TERMUX_PKG_BUILD_DEPENDS="libandroid-spawn"
TERMUX_PKG_GROUPS="base-devel"
TERMUX_PKG_EXTRA_MAKE_ARGS="
HELP2MAN=:
"
2022-02-19 20:13:16 +01:00
# Avoid automagic dependency on libiconv
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" am_cv_func_iconv=no"
2021-08-06 13:45:18 +02:00
termux_step_pre_configure() {
CPPFLAGS+=" -D__USE_FORTIFY_LEVEL=0"
}