1 |
commit: 4a52463e2acb5535be3fb4b0c8fcc96daff33fd8 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 23 22:26:57 2016 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 00:57:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a52463e |
7 |
|
8 |
dev-libs/libfastjson: Bumped to v0.99.4 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-libs/libfastjson/Manifest | 1 + |
13 |
dev-libs/libfastjson/libfastjson-0.99.4.ebuild | 41 ++++++++++++++++++++++++++ |
14 |
dev-libs/libfastjson/metadata.xml | 3 ++ |
15 |
3 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libfastjson/Manifest b/dev-libs/libfastjson/Manifest |
18 |
index 2bbace0..323619a 100644 |
19 |
--- a/dev-libs/libfastjson/Manifest |
20 |
+++ b/dev-libs/libfastjson/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libfastjson-0.99.2.tar.gz 366602 SHA256 6ff053d455243a81014f37b4d81c746d9b8d40256a56326c3a7921c8bf458dfd SHA512 4b57697cbb901bc12a26d98c3d6df998aba373d4f38339189c9bd3e5a32777fa4796039fe82581337e576fa93c6deb87759eba04326134f587064c82e1b3daaf WHIRLPOOL 56010125b4ba905aba3fa7ad69faf38237426c1ef5cbaad90458fe31e96b86719d2766d2099928dc22aa7d98a64d079a3bd9de31702b28547d1f1d416170d487 |
23 |
+DIST libfastjson-0.99.4.tar.gz 424989 SHA256 6339a67e680a8f6a6a0c179971118489cc14ec73bb1542b591c38f58d760034c SHA512 b38f01469021093f21b43550e7574d2bad7b57a28b62f27cb1d2a57e33d2cb29208d20d978bdebe5a82a9736dfcfd7ec0a0fa945762702f4389d69850c2cfeb3 WHIRLPOOL 15898787b20b13648cfc19496da69e86223400fd9e62cb9ce4362364cf5f6d7df32f54a79e4d225bedcdf91cdb0c9231a3e2a6e63d7366b3290624aaf7854dc7 |
24 |
|
25 |
diff --git a/dev-libs/libfastjson/libfastjson-0.99.4.ebuild b/dev-libs/libfastjson/libfastjson-0.99.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..be43af8 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libfastjson/libfastjson-0.99.4.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools |
38 |
+ |
39 |
+DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing" |
40 |
+HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/" |
41 |
+SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0/4.0.0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+DEPEND=">=sys-devel/autoconf-archive-2015.02.24" |
48 |
+RDEPEND="" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ |
53 |
+ eautoreconf |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local myeconfargs=( |
58 |
+ --enable-compile-warnings=yes |
59 |
+ $(use_enable static-libs static) |
60 |
+ --disable-rdrand |
61 |
+ ) |
62 |
+ |
63 |
+ econf "${myeconfargs[@]}" |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ local DOCS=( AUTHORS ChangeLog ) |
68 |
+ default |
69 |
+ |
70 |
+ find "${ED}"usr/lib* -name '*.la' -delete || die |
71 |
+} |
72 |
|
73 |
diff --git a/dev-libs/libfastjson/metadata.xml b/dev-libs/libfastjson/metadata.xml |
74 |
index f380ba0..11529b2 100644 |
75 |
--- a/dev-libs/libfastjson/metadata.xml |
76 |
+++ b/dev-libs/libfastjson/metadata.xml |
77 |
@@ -5,6 +5,9 @@ |
78 |
<email>whissi@g.o</email> |
79 |
<name>Thomas Deutschmann</name> |
80 |
</maintainer> |
81 |
+ <slots> |
82 |
+ <subslots>Reflect ABI of libfastjson.so.</subslots> |
83 |
+ </slots> |
84 |
<upstream> |
85 |
<bugs-to>https://github.com/rsyslog/libfastjson/issues</bugs-to> |
86 |
<remote-id type="github">rsyslog/libfastjson</remote-id> |