2022-04-24 04:59:17 +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-03-28 23:36:27 +01:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
src_prepare() {
|
2022-02-10 10:55:06 +00:00
|
|
|
rm doc/standards.info man/*.1
|
2021-06-30 18:43:33 +01:00
|
|
|
autoreconf-2.64 -f
|
2021-03-28 23:36:27 +01:00
|
|
|
|
|
|
|
# Install autoconf data files into versioned directory
|
|
|
|
for file in */*/Makefile.in */Makefile.in Makefile.in; do
|
2022-05-09 19:55:26 +01:00
|
|
|
sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
|
2021-03-28 23:36:27 +01:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
./configure --prefix="${PREFIX}" --program-suffix=-2.69
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
make MAKEINFO=true
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2021-04-02 12:24:40 +01:00
|
|
|
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
2021-03-28 23:36:27 +01:00
|
|
|
|
2021-04-02 12:24:40 +01:00
|
|
|
ln -sf "${PREFIX}/bin/autoconf-2.69" "${DESTDIR}${PREFIX}/bin/autoconf"
|
|
|
|
ln -sf "${PREFIX}/bin/autoheader-2.69" "${DESTDIR}${PREFIX}/bin/autoheader"
|
|
|
|
ln -sf "${PREFIX}/bin/autom4te-2.69" "${DESTDIR}${PREFIX}/bin/autom4te"
|
|
|
|
ln -sf "${PREFIX}/bin/autoreconf-2.69" "${DESTDIR}${PREFIX}/bin/autoreconf"
|
2021-03-28 23:36:27 +01:00
|
|
|
}
|