Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/autoconf/autoconf.html |
2 | TERMUX_PKG_DESCRIPTION="Creator of shell scripts to configure source code packages" | |
3 | TERMUX_PKG_VERSION=2.69 | |
722ed12d | 4 | TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz |
544181cd | 5 | TERMUX_PKG_SHA256=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 |
59f0d218 | 6 | TERMUX_PKG_DEPENDS="m4, make, perl" |
aa4722fc | 7 | TERMUX_PKG_PLATFORM_INDEPENDENT=yes |
59f0d218 FF |
8 | |
9 | termux_step_post_extract_package () { | |
59f0d218 FF |
10 | perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" lib/*/*.m4 |
11 | } | |
12 | ||
13 | termux_step_post_massage () { | |
14 | perl -p -i -e "s|/usr/bin/m4|$TERMUX_PREFIX/bin/m4|" bin/* | |
15 | perl -p -i -e "s|CONFIG_SHELL-/bin/sh|CONFIG_SHELL-$TERMUX_PREFIX/bin/sh|" bin/autoconf | |
16 | } |