live-bootstrap/sysa/automake-1.9.6/automake-1.9.6.sh

24 lines
603 B
Bash
Raw Normal View History

2022-07-07 20:43:39 +01:00
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
2021-03-19 21:38:18 +00:00
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
2021-05-26 00:48:05 +01:00
rm doc/automake.info*
2021-03-19 21:38:18 +00:00
sed -i 's/1.8a/1.8.5/; s/ filename-length-max=99//' configure.ac
2022-07-07 20:43:39 +01:00
AUTOMAKE=automake-1.8 ACLOCAL=aclocal-1.8 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 autoreconf-2.61 -f
2021-03-19 21:38:18 +00:00
}
src_configure() {
AUTOCONF=autoconf-2.61 ./configure --prefix="${PREFIX}"
2021-03-19 21:38:18 +00:00
}
src_compile() {
make MAKEINFO=true
}
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
2022-07-07 20:43:39 +01:00
rm "${DESTDIR}/usr/bin/automake" "${DESTDIR}/usr/bin/aclocal"
2021-03-19 21:38:18 +00:00
}