Autoconf 2.59.

This commit is contained in:
Andrius Štikonas 2021-03-18 19:37:07 +00:00
parent abf09359c3
commit eb4b623de9
5 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
autoreconf-2.57 -f
# Install autoconf data files into versioned directory
for file in */*/Makefile.in */Makefile.in Makefile.in; do
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
done
}
src_configure() {
./configure --prefix="${PREFIX}" --program-suffix=-2.59
}
src_install() {
default_src_install
ln -sf "${PREFIX}/bin/autoconf-2.59" "${PREFIX}/bin/autoconf"
ln -sf "${PREFIX}/bin/autom4te-2.59" "${PREFIX}/bin/autom4te"
}

View file

@ -117,6 +117,8 @@ build automake-1.7.8
build autoconf-2.57
build autoconf-2.59
build bash-3.2.57
exec bash run2.sh