mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-15 07:45:24 +01:00
Rebuild autoconf 2.52.
This commit is contained in:
parent
b15a829675
commit
5be7064d5f
3 changed files with 30 additions and 1 deletions
27
sysa/autoconf-2.52/stage2.sh
Executable file
27
sysa/autoconf-2.52/stage2.sh
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm Makefile.in */Makefile.in
|
||||
rm configure
|
||||
autoconf-2.52
|
||||
automake-1.4
|
||||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=${PREFIX} --program-suffix=-2.52
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove manually installed autoconf
|
||||
rm ${PREFIX}/bin/autoconf-2.52
|
||||
rm -rf ${PREFIX}/share/autoconf-2.52
|
||||
|
||||
default_src_install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue