live-bootstrap/sysc/automake-1.15.1/automake-1.15.1.sh

32 lines
947 B
Bash
Raw Normal View History

# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
2021-04-01 00:28:30 +01:00
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
2021-04-01 00:28:30 +01:00
rm doc/amhello-1.0.tar.gz
# Building doc often causes race conditions, skip it
sed -i '/doc\/Makefile.inc/d' Makefile.am
sed -i '/t\/Makefile.inc/d' Makefile.am
AUTOCONF=autoconf-2.69 AUTOM4TE=autom4te-2.69 ./bootstrap
2021-05-26 00:48:05 +01:00
rm doc/automake-history.info doc/automake.info*
2021-04-01 00:28:30 +01:00
}
src_configure() {
AUTORECONF=autoreconf-2.69 AUTOM4TE=autom4te-2.69 AUTOHEADER=autoheader-2.69 AUTOCONF=autoconf-2.69 ./configure --prefix="${PREFIX}"
2021-04-01 00:28:30 +01:00
}
src_compile() {
AUTORECONF=autoreconf-2.69 AUTOM4TE=autom4te-2.69 AUTOHEADER=autoheader-2.69 AUTOCONF=autoconf-2.69 make MAKEINFO=true
2021-04-01 00:28:30 +01:00
}
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-04-01 00:28:30 +01:00
}