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: Fri, 05 May 2017 10:56:51
Message-Id: 1493981798.935064cc336cabb6b8e22fc9b97f13c81c5a1767.whissi@gentoo
1 commit: 935064cc336cabb6b8e22fc9b97f13c81c5a1767
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 5 10:52:25 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri May 5 10:56:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=935064cc
7
8 dev-libs/libfastjson: Bump to v0.99.5
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-libs/libfastjson/Manifest | 1 +
13 dev-libs/libfastjson/libfastjson-0.99.5.ebuild | 40 ++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-libs/libfastjson/Manifest b/dev-libs/libfastjson/Manifest
17 index 323619a1dcf..1e4fb84ac80 100644
18 --- a/dev-libs/libfastjson/Manifest
19 +++ b/dev-libs/libfastjson/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libfastjson-0.99.2.tar.gz 366602 SHA256 6ff053d455243a81014f37b4d81c746d9b8d40256a56326c3a7921c8bf458dfd SHA512 4b57697cbb901bc12a26d98c3d6df998aba373d4f38339189c9bd3e5a32777fa4796039fe82581337e576fa93c6deb87759eba04326134f587064c82e1b3daaf WHIRLPOOL 56010125b4ba905aba3fa7ad69faf38237426c1ef5cbaad90458fe31e96b86719d2766d2099928dc22aa7d98a64d079a3bd9de31702b28547d1f1d416170d487
22 DIST libfastjson-0.99.4.tar.gz 424989 SHA256 6339a67e680a8f6a6a0c179971118489cc14ec73bb1542b591c38f58d760034c SHA512 b38f01469021093f21b43550e7574d2bad7b57a28b62f27cb1d2a57e33d2cb29208d20d978bdebe5a82a9736dfcfd7ec0a0fa945762702f4389d69850c2cfeb3 WHIRLPOOL 15898787b20b13648cfc19496da69e86223400fd9e62cb9ce4362364cf5f6d7df32f54a79e4d225bedcdf91cdb0c9231a3e2a6e63d7366b3290624aaf7854dc7
23 +DIST libfastjson-0.99.5.tar.gz 431298 SHA256 8aecdc111da2beebc09e99e2b51e13b70f219c5a095c38db953a75fde51779e9 SHA512 5fa28c49465092865b60c7e671747d72ae1a102a375b5edae378a4e82b023b3944dcd235ca247ea6f24186d34e3caddd1d0abb7d8d0ccae295b80a870c01582e WHIRLPOOL 7f9f5abb44c6edf8f043b34157786eb5e2b2ef4361e38f94fbdf171fc763313cef0633ca37644c53f97ccf84444daf67ec821225c2140430076447b6dbb1db93
24
25 diff --git a/dev-libs/libfastjson/libfastjson-0.99.5.ebuild b/dev-libs/libfastjson/libfastjson-0.99.5.ebuild
26 new file mode 100644
27 index 00000000000..ef28437bd5b
28 --- /dev/null
29 +++ b/dev-libs/libfastjson/libfastjson-0.99.5.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2017 Gentoo Foundation
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="http://www.rsyslog.com/tag/libfastjson/"
40 +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
41 +LICENSE="MIT"
42 +SLOT="0/4.1.0"
43 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~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 +}