diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources index 66817f0..1b72422 100644 --- a/SHA256SUMS.sources +++ b/SHA256SUMS.sources @@ -1,4 +1,5 @@ 534e99b61b81e79327b6d08f1a3edb0755ac246e1249009b0e1bf5887b60d7a9 autoconf-2.52.tar.gz +503cdc2b0992a4309545d17f462cb15f99bb57b7161dfc4082b2e7188f2bcc0f automake-1.4-p6.tar.gz ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz 7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095 bison-3.4.1.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 bzip2-1.0.8.tar.gz diff --git a/rootfs.sh b/rootfs.sh index 9cdc78e..b234d77 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -204,6 +204,9 @@ 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 +# automake 1.4-p6 +get_file https://ftp.gnu.org/gnu/automake/automake-1.4-p6.tar.gz + # General cleanup find tmp -name .git -exec rm -rf \; diff --git a/sysa/automake-1.4-p6/checksums b/sysa/automake-1.4-p6/checksums new file mode 100644 index 0000000..e69de29 diff --git a/sysa/automake-1.4-p6/stage1.sh b/sysa/automake-1.4-p6/stage1.sh new file mode 100755 index 0000000..22fb22a --- /dev/null +++ b/sysa/automake-1.4-p6/stage1.sh @@ -0,0 +1,24 @@ +# SPDX-FileCopyrightText: 2021 Andrius Štikonas +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + sed -i 's#m4/Makefile tests/Makefile##; s/Makefile //' configure.in + + rm configure Makefile.in */Makefile.in + autoconf-2.52 +} + +src_configure() { + ./configure --prefix=/after +} + +src_compile() { + : +} + +src_install() { + install automake ${PREFIX}/bin/automake-1.4 + mkdir -p ${PREFIX}/share/automake-1.4 + cp -r *.am ${PREFIX}/share/automake-1.4/ +} diff --git a/sysa/automake-1.4-p6/stage2.sh b/sysa/automake-1.4-p6/stage2.sh new file mode 100755 index 0000000..3963233 --- /dev/null +++ b/sysa/automake-1.4-p6/stage2.sh @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: 2021 Andrius Štikonas +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + rm configure Makefile.in */Makefile.in + autoconf-2.52 + automake-1.4 +} + +src_configure() { + ./configure --prefix=/after +} + +src_install() { + # cleanup old manual install + rm ${PREFIX}/bin/automake-1.4 + rm -rf ${PREFIX}/share/automake-1.4 + + default_src_install +} diff --git a/sysa/run.sh b/sysa/run.sh index ff71f13..4b1133b 100755 --- a/sysa/run.sh +++ b/sysa/run.sh @@ -70,4 +70,7 @@ populate_device_nodes build autoconf-2.52 +build automake-1.4-p6 stage1.sh +build automake-1.4-p6 stage2.sh + echo "Bootstrapping completed."