live-bootstrap/sysc/xz-5.4.1/xz-5.4.1.sh

21 lines
529 B
Bash
Raw Normal View History

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 \
--build=i386-unknown-linux-musl \
--libdir="${LIBDIR}"
2021-03-25 21:47:57 +00:00
}