Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfastjson/
Date: Wed, 27 Jan 2021 15:10:58
Message-Id: 1611760245.c7d9adee69adef759c350e6f017ac4ef9951c954.whissi@gentoo
1 commit: c7d9adee69adef759c350e6f017ac4ef9951c954
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 27 13:49:55 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 15:10:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d9adee
7
8 dev-libs/libfastjson: bump to v0.99.9
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-libs/libfastjson/Manifest | 1 +
14 dev-libs/libfastjson/libfastjson-0.99.9.ebuild | 40 ++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-libs/libfastjson/Manifest b/dev-libs/libfastjson/Manifest
18 index 3b7b2dfd27e..d05dabe0f41 100644
19 --- a/dev-libs/libfastjson/Manifest
20 +++ b/dev-libs/libfastjson/Manifest
21 @@ -1 +1,2 @@
22 DIST libfastjson-0.99.8.tar.gz 433819 BLAKE2B f988c01de8e7becc5a848825c18151fec2b80f81eb5b50e459b1a3bb535f5521fb63e9350eb133eb984f57f42c5f529220a0c9461eb4689e1421ad815c4c4d87 SHA512 1e7eb7eaae2c6ccb78b77ac883808e1d311b03bad083dc72ab7712765a2ed139accd762850d60f54c6fe0ad48c4385714818fd2c8ed76700ce3546e5aff1c823
23 +DIST libfastjson-0.99.9.tar.gz 436502 BLAKE2B 5ed542f373dee2e28c85f8b48e9d35c7727d7e565c691f90caed7a9ac1192814c6371e03bce18dd9765b4251e6a78b7e612eeb38872d2833cd72021d41fb889a SHA512 90505fba033179aa92f12ac5dbbb071f69f3491de5bbbbb46d553b08ac325448459c9e33ba22ef4f9db0bae4496cca60046eebf6325d70b045c1a0a9845b0d48
24
25 diff --git a/dev-libs/libfastjson/libfastjson-0.99.9.ebuild b/dev-libs/libfastjson/libfastjson-0.99.9.ebuild
26 new file mode 100644
27 index 00000000000..3c3e3ed274c
28 --- /dev/null
29 +++ b/dev-libs/libfastjson/libfastjson-0.99.9.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="6"
35 +
36 +inherit autotools
37 +
38 +DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing"
39 +HOMEPAGE="https://www.rsyslog.com/tag/libfastjson/"
40 +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
41 +LICENSE="MIT"
42 +SLOT="0/4.2.0"
43 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
44 +IUSE="static-libs"
45 +
46 +DEPEND=">=sys-devel/autoconf-archive-2015.02.04"
47 +RDEPEND=""
48 +
49 +src_prepare() {
50 + default
51 +
52 + eautoreconf
53 +}
54 +
55 +src_configure() {
56 + local myeconfargs=(
57 + --enable-compile-warnings=yes
58 + $(use_enable static-libs static)
59 + --disable-rdrand
60 + )
61 +
62 + econf "${myeconfargs[@]}"
63 +}
64 +
65 +src_install() {
66 + local DOCS=( AUTHORS ChangeLog )
67 + default
68 +
69 + find "${ED}"usr/lib* -name '*.la' -delete || die
70 +}