live-bootstrap/sysa/autoconf-2.64/autoconf-2.64.sh

27 lines
663 B
Bash
Raw Normal View History

2021-03-25 21:35:43 +00:00
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
rm doc/standards.info man/*.1
2022-07-07 20:43:39 +01:00
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 autoreconf-2.61 -f
2021-03-25 21:35:43 +00:00
# Install autoconf data files into versioned directory
for file in */*/Makefile.in */Makefile.in Makefile.in; do
2022-05-09 19:55:26 +01:00
sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
2021-03-25 21:35:43 +00:00
done
}
src_configure() {
2021-06-30 18:43:33 +01:00
./configure --prefix="${PREFIX}" --program-suffix=-2.64
2021-03-25 21:35:43 +00:00
}
src_compile() {
make MAKEINFO=true
}
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
2021-03-25 21:35:43 +00:00
}