2022-07-02 20:39:19 +01:00
|
|
|
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
2022-03-07 07:58:20 +00:00
|
|
|
# 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() {
|
2021-05-03 23:48:06 +01:00
|
|
|
default
|
2021-04-01 00:28:30 +01:00
|
|
|
|
2021-05-23 21:07:57 +01:00
|
|
|
rm doc/amhello-1.0.tar.gz
|
|
|
|
|
2023-01-24 22:18:11 +00:00
|
|
|
# Building doc often causes race conditions, skip it
|
|
|
|
sed -i '/doc\/Makefile.inc/d' Makefile.am
|
|
|
|
sed -i '/t\/Makefile.inc/d' Makefile.am
|
|
|
|
|
2022-07-02 20:39:19 +01:00
|
|
|
AUTOCONF=autoconf-2.69 AUTOM4TE=autom4te-2.69 ./bootstrap
|
2021-04-11 22:57:43 +01:00
|
|
|
|
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() {
|
2022-07-02 20:39:19 +01:00
|
|
|
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() {
|
2023-04-10 06:30:16 +01:00
|
|
|
AUTORECONF=autoreconf-2.69 AUTOM4TE=autom4te-2.69 AUTOHEADER=autoheader-2.69 AUTOCONF=autoconf-2.69 make -j1 MAKEINFO=true
|
2021-04-01 00:28:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2021-04-02 12:24:40 +01:00
|
|
|
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
|
|
|
}
|