2018-05-25 12:38:52 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/autoconf/autoconf.html
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Creator of shell scripts to configure source code packages"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-02-03 23:52:58 +01:00
|
|
|
TERMUX_PKG_VERSION=2.71
|
2021-08-19 21:51:19 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz
|
2021-02-03 23:52:58 +01:00
|
|
|
TERMUX_PKG_SHA256=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DEPENDS="m4, make, perl"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2020-07-16 23:58:48 +02:00
|
|
|
termux_step_post_get_source() {
|
2015-06-13 01:03:31 +02:00
|
|
|
perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" lib/*/*.m4
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_massage() {
|
2015-06-13 01:03:31 +02:00
|
|
|
perl -p -i -e "s|/usr/bin/m4|$TERMUX_PREFIX/bin/m4|" bin/*
|
2017-12-05 22:48:12 +01:00
|
|
|
perl -p -i -e "s|CONFIG_SHELL-/bin/sh|CONFIG_SHELL-$TERMUX_PREFIX/bin/sh|" bin/autoconf
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|