mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 16:25:23 +01:00
Automake 1.7 and Autoconf 2.54
This commit is contained in:
parent
0e7ff9a301
commit
5ecd548945
8 changed files with 107 additions and 0 deletions
30
sysa/autoconf-2.54/stage1.sh
Executable file
30
sysa/autoconf-2.54/stage1.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
|
||||
aclocal-1.7
|
||||
sed -i 's/2.54/2.53/' aclocal.m4
|
||||
cat config/m4.m4 >> aclocal.m4
|
||||
autoconf-2.53
|
||||
|
||||
# Otherwise automake-1.7 fails to find autoconf
|
||||
ln -s "${PREFIX}"/bin/autoconf-2.53 "${PREFIX}"/bin/autoconf
|
||||
automake-1.7
|
||||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */*/Makefile.in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --program-suffix=-2.54
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
|
||||
ln -sf "${PREFIX}"/bin/autoconf-2.54 "${PREFIX}"/bin/autoconf
|
||||
}
|
||||
18
sysa/autoconf-2.54/stage2.sh
Executable file
18
sysa/autoconf-2.54/stage2.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
|
||||
|
||||
autoreconf-2.54
|
||||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */*/Makefile.in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --program-suffix=-2.54
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue