Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/bzip3/
Date: Mon, 16 May 2022 17:14:51
Message-Id: 1652721273.d1a8378613b3586a3f6787047c1238b648d5e84a.xgqt@gentoo
1 commit: d1a8378613b3586a3f6787047c1238b648d5e84a
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 16 17:14:33 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 17:14:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a83786
7
8 app-arch/bzip3: bump to 1.1.3
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-arch/bzip3/Manifest | 1 +
13 app-arch/bzip3/bzip3-1.1.3.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/app-arch/bzip3/Manifest b/app-arch/bzip3/Manifest
17 index 6e224d59c754..74a9f9ed885c 100644
18 --- a/app-arch/bzip3/Manifest
19 +++ b/app-arch/bzip3/Manifest
20 @@ -1,2 +1,3 @@
21 DIST bzip3-1.1.1.tar.gz 2349860 BLAKE2B dd740b631b66db40bce35cccc0a46e4bbfe2a929aeaa2b083419e94cfcf3967c97fc6233e50fb1b0cb185ebd23bcad082567ca11ad5f0f037bdc4a95eb792f77 SHA512 22c7e415b2cd423b08a99051fd54bf0773e11a978559c9c382a4667087d6f1671de9ec564a5badbe1e8283aba83f5d1c70392ba7a0a96c8669ffee302d5d47e9
22 DIST bzip3-1.1.2.tar.xz 256108 BLAKE2B a5f91fe2760fd4f7f79b908d735d613823dedac23e59950317c26f50d0a657dde042e5a08d401984c14d686d33726caa81e4b34cbca26e28c57a96f61e4f23ab SHA512 8b179bfe9b1b67c516580934cd12a640c86b3f9525c5e7902672051d80198cb91aa8880a4ca3ce14a879d26873405c713f1a0c6a33138d21f4d51c9e93d8fac5
23 +DIST bzip3-1.1.3.tar.xz 257212 BLAKE2B cc94b4c2caa3123b2c775d66143757bcaea7ead6d8a130391d6714583cfcb92fffca47ad80ffc8b5a01483f6cbfab7101c96521cd97e740116c9e10c64c358e8 SHA512 d48695d066ddc79e81c189f8c06e999f8eb8191982db8908f7bd4dfaa0f8fab1ba57e41664962cc6e8611f8398603918e4bd4d58efff2f04292ea54983a6f38d
24
25 diff --git a/app-arch/bzip3/bzip3-1.1.3.ebuild b/app-arch/bzip3/bzip3-1.1.3.ebuild
26 new file mode 100644
27 index 000000000000..bc68102070ae
28 --- /dev/null
29 +++ b/app-arch/bzip3/bzip3-1.1.3.ebuild
30 @@ -0,0 +1,40 @@
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 toolchain-funcs autotools
37 +
38 +DESCRIPTION="A better and stronger spiritual successor to BZip2"
39 +HOMEPAGE="https://github.com/kspalaiologos/bzip3"
40 +
41 +if [[ ${PV} == *9999* ]] ; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/kspalaiologos/${PN}.git"
44 +else
45 + SRC_URI="https://github.com/kspalaiologos/${PN}/releases/download/${PV}/${P}.tar.xz"
46 + KEYWORDS="~amd64 ~x86"
47 +fi
48 +
49 +LICENSE="LGPL-3+"
50 +SLOT="0"
51 +IUSE="static-libs"
52 +
53 +src_prepare() {
54 + default
55 + eautoreconf
56 +}
57 +
58 +src_configure() {
59 + # ./configure script will default to Clang if it is found on the system,
60 + # force the use of CC selected by the user with CC=$(tc-getCC)
61 + econf $(use_enable static-libs static) CC=$(tc-getCC)
62 +}
63 +
64 +src_install() {
65 + default
66 +
67 + if ! use static-libs ; then
68 + find "${ED}" -type f -name '*.la' -delete || die
69 + fi
70 +}