Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lrzip/
Date: Wed, 02 Mar 2022 02:31:25
Message-Id: 1646188263.61c003d081de7195408fb32386a7afdf4ec8b5b2.sam@gentoo
1 commit: 61c003d081de7195408fb32386a7afdf4ec8b5b2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 02:29:49 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 02:31:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c003d0
7
8 app-arch/lrzip: add 0.650
9
10 Bug: https://bugs.gentoo.org/834456
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-arch/lrzip/Manifest | 1 +
14 app-arch/lrzip/lrzip-0.650.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/app-arch/lrzip/Manifest b/app-arch/lrzip/Manifest
18 index 82812d245266..fda21f1f62bf 100644
19 --- a/app-arch/lrzip/Manifest
20 +++ b/app-arch/lrzip/Manifest
21 @@ -1 +1,2 @@
22 DIST lrzip-0.641.tar.gz 262761 BLAKE2B 5a81d9ca8b40c141c90488e9ffcd1dfd5bef3fe7cf9b02c00b9382cd902ef8cd891401f21c9cdd5d5750daf639c05a1e6f1f010fcbf42a9cdaa4f11921fac783 SHA512 cb14dda15485faa24cb840dd94ecd4741bd47464770ae8b27f97b5c263d8a32e40ceb17b288f0f70426598ef2acf84b091593fc8cf7a0f2db0abde88d09a301f
23 +DIST lrzip-0.650.tar.gz 238952 BLAKE2B 5013de6f8948aebf1bb7545c392b623a1628f74298cab3316555ec6a1acbbc64f81abcf1f5c8a7a67a547d8748f7bb05d0d88cb58b6fa3ab765baad596acb756 SHA512 30a3217703748f6894fbac438976e3179a46e3f6af59e5849f7f8460d1a094275a4b41790617f4bd1ae7c7476548d2daadcfab9ab60c167ce5c24cd593e70964
24
25 diff --git a/app-arch/lrzip/lrzip-0.650.ebuild b/app-arch/lrzip/lrzip-0.650.ebuild
26 new file mode 100644
27 index 000000000000..9cb8ed8b2d4e
28 --- /dev/null
29 +++ b/app-arch/lrzip/lrzip-0.650.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit autotools
37 +
38 +DESCRIPTION="Long Range ZIP or Lzma RZIP optimized for compressing large files"
39 +HOMEPAGE="https://github.com/ckolivas/lrzip"
40 +SRC_URI="https://github.com/ckolivas/lrzip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="static-libs"
46 +
47 +RDEPEND="app-arch/bzip2
48 + app-arch/lz4
49 + dev-libs/lzo
50 + sys-libs/zlib"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="dev-perl/Pod-Parser
53 + amd64? ( dev-lang/nasm )
54 + x86? ( dev-lang/nasm )"
55 +
56 +src_prepare() {
57 + default
58 +
59 + eautoreconf
60 +}
61 +
62 +src_configure() {
63 + # ASM optimizations are only available on amd64 and x86, bug #829003
64 + local asm=no
65 + if use amd64 || use x86; then
66 + asm=yes
67 + fi
68 +
69 + econf \
70 + $(use_enable static-libs static) \
71 + --enable-asm=${asm}
72 +}
73 +
74 +src_install() {
75 + default
76 + # Don't collide with net-dialup/lrzsz and /usr/bin/lrz, bug #588206
77 + rm -f "${ED}"/usr/bin/lrz || die
78 + rm -f "${ED}"/usr/share/man/man1/lrz.* || die
79 +
80 + find "${ED}" -name '*.la' -delete || die
81 +}