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

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