mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 01:35:24 +01:00
Bootstrap aclocal.
This commit is contained in:
parent
bb4d24509e
commit
52cdbad405
11 changed files with 86 additions and 96 deletions
17
sysa/automake-1.4-p6/automake-1.4-p6.sh
Executable file
17
sysa/automake-1.4-p6/automake-1.4-p6.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm configure Makefile.in */Makefile.in aclocal.m4
|
||||
aclocal-1.6
|
||||
autoconf-2.52
|
||||
# When building with newer automake we get the following error
|
||||
# Makefile.am:59: ETAGS_ARGS multiply defined in condition TRUE
|
||||
sed -i '/ETAGS_ARGS/,+1d' Makefile.am
|
||||
automake-1.6
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=/after
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# 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() {
|
||||
cp m4/amversion.in m4/amversion.m4
|
||||
sed -i 's/@VERSION@/1.4-p6/' m4/amversion.m4
|
||||
sed -i 's/@APIVERSION@/1.4/' m4/amversion.m4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install automake "${PREFIX}"/bin/automake-1.4
|
||||
mkdir -p "${PREFIX}"/share/automake-1.4
|
||||
cp -r *.am "${PREFIX}"/share/automake-1.4/
|
||||
|
||||
install aclocal "${PREFIX}"/bin/aclocal-1.4
|
||||
mkdir -p "${PREFIX}"/share/aclocal-1.4
|
||||
cp -r m4/*.m4 "${PREFIX}"/share/aclocal-1.4/
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
# 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
|
||||
aclocal-1.4
|
||||
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
|
||||
rm -rf "${PREFIX}"/share/aclocal-1.4
|
||||
|
||||
default_src_install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue