Install autoconf 2.52.
This commit is contained in:
parent
d7794f8f15
commit
c88e4c1ab7
|
@ -1,3 +1,4 @@
|
||||||
|
534e99b61b81e79327b6d08f1a3edb0755ac246e1249009b0e1bf5887b60d7a9 autoconf-2.52.tar.gz
|
||||||
ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz
|
ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz
|
||||||
7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095 bison-3.4.1.tar.gz
|
7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095 bison-3.4.1.tar.gz
|
||||||
ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 bzip2-1.0.8.tar.gz
|
ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 bzip2-1.0.8.tar.gz
|
||||||
|
|
|
@ -352,3 +352,12 @@ perl 5.6.2
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Even more perl. 5.6.2 is the last version buildable with 5.004.
|
Even more perl. 5.6.2 is the last version buildable with 5.004.
|
||||||
|
|
||||||
|
autoconf 2.52
|
||||||
|
==============
|
||||||
|
|
||||||
|
GNU Autoconf is a tool for producing ``configure`` scripts for building, installing and
|
||||||
|
packaging software on computer systems where a Bourne shell is available.
|
||||||
|
|
||||||
|
At this stage we still do not have a working autotools system, so we manually install
|
||||||
|
``autoconf`` script and replace a few placeholder variables with ``sed``.
|
||||||
|
|
|
@ -201,6 +201,9 @@ get_file https://www.cpan.org/src/5.0/perl5.005_03.tar.gz
|
||||||
# perl 5.6.2
|
# perl 5.6.2
|
||||||
get_file https://www.cpan.org/src/5.0/perl-5.6.2.tar.gz
|
get_file https://www.cpan.org/src/5.0/perl-5.6.2.tar.gz
|
||||||
|
|
||||||
|
# autoconf 2.52
|
||||||
|
get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.52.tar.gz
|
||||||
|
|
||||||
# General cleanup
|
# General cleanup
|
||||||
find tmp -name .git -exec rm -rf \;
|
find tmp -name .git -exec rm -rf \;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cp autoconf.in autoconf
|
||||||
|
sed -i "s# @SHELL@#/bin/sh#" autoconf
|
||||||
|
sed -i 's/@M4@/m4/' autoconf
|
||||||
|
sed -i 's/@AWK@/awk/' autoconf
|
||||||
|
sed -i 's/@PACKAGE_NAME@/Autoconf/' autoconf
|
||||||
|
sed -i 's/@VERSION@/2.52/' autoconf
|
||||||
|
sed -i "s#@datadir@#${PREFIX}/share/autoconf-2.52#" autoconf
|
||||||
|
chmod +x autoconf
|
||||||
|
|
||||||
|
m4 autoconf.m4 --freeze-state=autoconf.m4f
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
install autoconf ${PREFIX}/bin/autoconf-2.52
|
||||||
|
mkdir -p ${PREFIX}/share/autoconf-2.52
|
||||||
|
cp -r *.m4* ${PREFIX}/share/autoconf-2.52/
|
||||||
|
}
|
|
@ -68,4 +68,6 @@ build perl-5.6.2
|
||||||
|
|
||||||
populate_device_nodes
|
populate_device_nodes
|
||||||
|
|
||||||
|
build autoconf-2.52
|
||||||
|
|
||||||
echo "Bootstrapping completed."
|
echo "Bootstrapping completed."
|
||||||
|
|
Loading…
Reference in New Issue