live-bootstrap/sysa/automake-1.6.3/stage3.sh

31 lines
717 B
Bash
Raw Normal View History

2021-02-27 17:08:17 +00:00
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
2022-05-09 19:55:26 +01:00
rm -- configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
2021-03-17 00:24:37 +00:00
aclocal-1.6
2021-02-27 17:08:17 +00:00
autoconf-2.52
2021-03-17 00:24:37 +00:00
automake-1.6
2021-02-27 17:08:17 +00:00
}
src_configure() {
./configure --prefix="${PREFIX}"
2021-02-27 17:08:17 +00:00
}
src_compile() {
make MAKEINFO=true
}
2021-02-27 17:08:17 +00:00
src_install() {
# cleanup old manual install
2021-03-17 00:24:37 +00:00
rm "${PREFIX}"/bin/automake-1.6
rm "${PREFIX}"/bin/aclocal-1.6
rm -rf "${PREFIX}"/share/automake-1.6
rm -rf "${PREFIX}"/share/aclocal-1.6
2021-02-27 17:08:17 +00:00
make install MAKEINFO=true DESTDIR="${DESTDIR}"
rm "${DESTDIR}${PREFIX}/bin/automake"
rm "${DESTDIR}${PREFIX}/bin/aclocal"
2021-02-27 17:08:17 +00:00
}