mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 09:45:24 +01:00
Replace automake 1.5 with automake 1.6.3
This commit is contained in:
parent
e31ae5a8f9
commit
9fb1287f13
9 changed files with 67 additions and 123 deletions
31
sysa/automake-1.6.3/stage1.sh
Executable file
31
sysa/automake-1.6.3/stage1.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/Makefile/d' configure.in
|
||||
|
||||
rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4
|
||||
autoconf-2.52
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=/after
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cp m4/amversion.in m4/amversion.m4
|
||||
sed -i 's/@VERSION@/1.6.3/' m4/amversion.m4
|
||||
sed -i 's/@APIVERSION@/1.6/' m4/amversion.m4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install automake "${PREFIX}"/bin/automake-1.6
|
||||
mkdir -p "${PREFIX}"/share/automake-1.6/{Automake,am}
|
||||
cp lib/Automake/*.pm "${PREFIX}"/share/automake-1.6/Automake/
|
||||
cp -r lib/am/*.am "${PREFIX}"/share/automake-1.6/am/
|
||||
|
||||
install aclocal "${PREFIX}"/bin/aclocal-1.6
|
||||
mkdir -p "${PREFIX}"/share/aclocal-1.6
|
||||
cp -r m4/*.m4 "${PREFIX}"/share/aclocal-1.6/
|
||||
}
|
||||
24
sysa/automake-1.6.3/stage2.sh
Executable file
24
sysa/automake-1.6.3/stage2.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4
|
||||
aclocal-1.6
|
||||
autoconf-2.52
|
||||
automake-1.6
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=/after
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# cleanup old manual install
|
||||
rm "${PREFIX}"/bin/automake-1.6
|
||||
rm "${PREFIX}"/bin/aclocal-1.6
|
||||
rm -rf "${PREFIX}"/share/automake-1.6
|
||||
rm -rf "${PREFIX}"/share/aclocal-1.6
|
||||
|
||||
default_src_install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue