mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 05:45:23 +01:00
Install autoconf 2.52.
This commit is contained in:
parent
d7794f8f15
commit
c88e4c1ab7
6 changed files with 37 additions and 0 deletions
22
sysa/autoconf-2.52/autoconf-2.52.sh
Executable file
22
sysa/autoconf-2.52/autoconf-2.52.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_compile() {
|
||||
cp autoconf.in autoconf
|
||||
sed -i "s# @SHELL@#/bin/sh#" autoconf
|
||||
sed -i 's/@M4@/m4/' autoconf
|
||||
sed -i 's/@AWK@/awk/' autoconf
|
||||
sed -i 's/@PACKAGE_NAME@/Autoconf/' autoconf
|
||||
sed -i 's/@VERSION@/2.52/' autoconf
|
||||
sed -i "s#@datadir@#${PREFIX}/share/autoconf-2.52#" autoconf
|
||||
chmod +x autoconf
|
||||
|
||||
m4 autoconf.m4 --freeze-state=autoconf.m4f
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install autoconf ${PREFIX}/bin/autoconf-2.52
|
||||
mkdir -p ${PREFIX}/share/autoconf-2.52
|
||||
cp -r *.m4* ${PREFIX}/share/autoconf-2.52/
|
||||
}
|
||||
0
sysa/autoconf-2.52/checksums
Normal file
0
sysa/autoconf-2.52/checksums
Normal file
|
|
@ -68,4 +68,6 @@ build perl-5.6.2
|
|||
|
||||
populate_device_nodes
|
||||
|
||||
build autoconf-2.52
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue