diff --git a/app-arch/lrzip/Manifest b/app-arch/lrzip/Manifest index 4d81e8d9358a5..0f4e27afcc067 100644 --- a/app-arch/lrzip/Manifest +++ b/app-arch/lrzip/Manifest @@ -1 +1,2 @@ DIST lrzip-0.651.tar.gz 238854 BLAKE2B 2680867ccbee6ff669581017c9bb22db4d7eba0fda80b935bd088191809cb8baa833a03e7732cd1fe5a0487edfe577b34f34dcdcda121c114145bff9fc17ba79 SHA512 97671c4705bc06dfd037e38f4384a5ffaf2e3508da217406ac43642b88eae16576818a378bce519812204fecefbd6552a75fc3e74af729ab7b11724b7a6d1998 +DIST lrzip-0.7.1.tar.gz 387473 BLAKE2B 386a7ee1fe5109e2e359df99c115496aaec1a51c1ed3ebc643420e29c6d62f04bed543cd61616a96ca5199697a2757f60cf5c768187ffbc9f4773dd481a6a935 SHA512 2f5e18ee74c61f63bf3d8328e05c1e2454a700901820b58ebaf70643db466e8853283ec5289d00a72ca9bae26c866098cdfd342bde0308e506031311feb58aed diff --git a/app-arch/lrzip/lrzip-0.7.1.ebuild b/app-arch/lrzip/lrzip-0.7.1.ebuild new file mode 100644 index 0000000000000..737fd1191c1f6 --- /dev/null +++ b/app-arch/lrzip/lrzip-0.7.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Long Range ZIP or Lzma RZIP optimized for compressing large files" +HOMEPAGE="https://github.com/ckolivas/lrzip" +SRC_URI="https://github.com/ckolivas/lrzip/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="static-libs" + +RDEPEND="app-arch/bzip2 + app-arch/lz4 + dev-libs/lzo + virtual/zlib:=" +DEPEND="${RDEPEND}" +BDEPEND="dev-perl/Pod-Parser + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm )" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # ASM optimizations are only available on amd64 and x86, bug #829003 + local asm=no + if use amd64 || use x86; then + asm=yes + fi + + econf \ + $(use_enable static-libs static) \ + --enable-asm=${asm} +} + +src_install() { + default + # Don't collide with net-dialup/lrzsz and /usr/bin/lrz, bug #588206 + rm -f "${ED}"/usr/bin/lrz || die + rm -f "${ED}"/usr/share/man/man1/lrz.* || die + + find "${ED}" -name '*.la' -delete || die +}