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 | |
4 | TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz | |
5 | TERMUX_PKG_DEPENDS="m4, make, perl" | |
6 | ||
7 | termux_step_post_extract_package () { | |
8 | cd $TERMUX_PKG_SRCDIR | |
9 | perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" lib/*/*.m4 | |
10 | } | |
11 | ||
12 | termux_step_post_massage () { | |
13 | perl -p -i -e "s|/usr/bin/m4|$TERMUX_PREFIX/bin/m4|" bin/* | |
14 | perl -p -i -e "s|CONFIG_SHELL-/bin/sh|CONFIG_SHELL-$TERMUX_PREFIX/bin/sh|" bin/autoconf | |
15 | } |