Skip to content

Commit

Permalink
app-arch/bzip2: add .exe support
Browse files Browse the repository at this point in the history
Signed-off-by: Matija Skala <mskala@gmx.com>
Closes: #31656
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
matijaskala authored and thesamesam committed Jun 28, 2023
1 parent 63e19a2 commit a8d9347
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app-arch/bzip2/bzip2-1.0.8-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
EAPI=7

VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bzip2.gpg
inherit toolchain-funcs multilib-minimal usr-ldscript verify-sig
inherit toolchain-funcs multilib multilib-minimal usr-ldscript verify-sig

DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="https://sourceware.org/bzip2/"
Expand Down Expand Up @@ -91,9 +91,9 @@ multilib_src_install() {
if multilib_is_native_abi ; then
gen_usr_ldscript -a bz2

dobin bzip2recover
dobin bzip2recover$(get_exeext)
into /
newbin bzip2 bzip2-reference
newbin bzip2$(get_exeext) bzip2-reference$(get_exeext)
fi
}

Expand Down Expand Up @@ -129,7 +129,7 @@ pkg_postinst() {
local x
for x in bzip2 bunzip2 bzcat; do
if [[ ! -h ${EROOT}/bin/${x} ]]; then
ln -s bzip2-reference "${EROOT}/bin/${x}" || die
ln -s bzip2-reference$(get_exeext) "${EROOT}/bin/${x}$(get_exeext)" || die
fi
done
}

0 comments on commit a8d9347

Please sign in to comment.