2021-03-17 00:24:37 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
src_prepare() {
|
2021-04-19 00:44:21 +01:00
|
|
|
rm configure Makefile.in */Makefile.in aclocal.m4 automake.info*
|
2021-03-17 00:24:37 +00:00
|
|
|
aclocal-1.6
|
|
|
|
autoconf-2.52
|
|
|
|
# When building with newer automake we get the following error
|
|
|
|
# Makefile.am:59: ETAGS_ARGS multiply defined in condition TRUE
|
|
|
|
sed -i '/ETAGS_ARGS/,+1d' Makefile.am
|
|
|
|
automake-1.6
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
./configure --prefix=/after
|
|
|
|
}
|
2021-03-19 10:18:27 +00:00
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
make MAKEINFO=true
|
|
|
|
}
|
2021-03-19 15:39:42 +00:00
|
|
|
|
|
|
|
src_install() {
|
2021-04-02 12:24:40 +01:00
|
|
|
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
2021-03-19 15:39:42 +00:00
|
|
|
}
|