termux-packages/packages/autoconf/build.sh

18 lines
744 B
Bash
Raw Normal View History

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"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_VERSION=2.69
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz
2017-03-27 01:56:11 +02:00
TERMUX_PKG_SHA256=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DEPENDS="m4, make, perl"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
2015-06-13 01:03:31 +02:00
termux_step_post_extract_package () {
perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" lib/*/*.m4
}
termux_step_post_massage () {
perl -p -i -e "s|/usr/bin/m4|$TERMUX_PREFIX/bin/m4|" bin/*
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
}