2021-03-25 21:47:57 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
src_prepare() {
|
2023-02-27 04:03:03 +00:00
|
|
|
# Delete translation catalogs
|
|
|
|
find . -name "*.gmo" -delete
|
|
|
|
rm -rf po4a/man
|
2021-03-25 21:47:57 +00:00
|
|
|
|
2023-02-27 04:03:03 +00:00
|
|
|
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 AUTOCONF=autoconf-2.69 AUTOM4TE=autom4te-2.69 autoreconf-2.69 -f
|
2021-03-25 21:47:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
./configure \
|
|
|
|
--prefix="${PREFIX}" \
|
|
|
|
--disable-shared \
|
2023-02-27 04:03:03 +00:00
|
|
|
--disable-nls \
|
2021-07-06 00:13:58 +01:00
|
|
|
--build=i386-unknown-linux-musl \
|
2022-09-14 13:07:13 +01:00
|
|
|
--libdir="${LIBDIR}"
|
2021-03-25 21:47:57 +00:00
|
|
|
}
|