0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-20 02:59:35 +00:00
Files
Yaksh Bariya acf5c29f79 disable(main/autoconf213): in favour of newer autoconf
Package was requested in
https://github.com/termux/termux-packages/issues/5640 and added in
a1af558000

Also the package was only downloaded for a total of 12 times in the past
14 days using apt as seem in the VPS logs. I believe it wouldn't bother
anyone at all if this package is removed. So let's get rid of it.
2025-08-11 12:14:57 +05:30

20 lines
909 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/autoconf/autoconf.html
TERMUX_PKG_DESCRIPTION="Creator of shell scripts to configure source code packages (legacy v2.13)"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.13
TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
TERMUX_PKG_DEPENDS="m4, make, perl"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--program-suffix=-2.13"
termux_step_post_get_source() {
perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" *.m4
}
termux_step_post_massage() {
perl -p -i -e "s|/usr/bin/m4|$TERMUX_PREFIX/bin/m4|" $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/bin/*
perl -p -i -e "s|CONFIG_SHELL-/bin/sh|CONFIG_SHELL-$TERMUX_PREFIX/bin/sh|" $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/bin/autoconf-2.13
}