app-arch/bzip2: Sync with Gentoo

It's from Gentoo commit c4e4875a784b07d3640120af7e49d6cc44e01d2a.
This commit is contained in:
Flatcar Buildbot 2025-04-14 07:05:18 +00:00 committed by Krzesimir Nowak
parent fe1173dbf2
commit cee228a036

View File

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson-multilib usr-ldscript
inherit meson-multilib
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="https://gitlab.com/bzip2/bzip2"
@ -33,14 +33,6 @@ multilib_src_configure() {
meson_src_configure
}
multilib_src_install() {
meson_src_install
if multilib_is_native_abi ; then
gen_usr_ldscript -a bz2
fi
}
multilib_src_install_all() {
dodir /bin
mv "${ED}"/usr/bin/bzip2 "${ED}"/bin/bzip2-reference || die