Add automake-1.4-p6.

This commit is contained in:
Andrius Štikonas 2021-02-27 17:08:17 +00:00
parent 3109a4e701
commit b15a829675
6 changed files with 52 additions and 0 deletions

View File

@ -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

View File

@ -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 \;

View File

24
sysa/automake-1.4-p6/stage1.sh Executable file
View File

@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# 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/
}

21
sysa/automake-1.4-p6/stage2.sh Executable file
View File

@ -0,0 +1,21 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# 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
}

View File

@ -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."