summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-03-06 12:23:42 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-03-06 12:23:55 +0100
commit0ed032bfe7ceb673a7068b7bd3690ebf89dce597 (patch)
tree408558ae6f6b165ef624f173cb60e9dde10daf93 /dev-libs/jansson
parentapp-admin/tripwire: Bumps version to 2.4.3.4 (diff)
downloadgentoo-0ed032bfe7ceb673a7068b7bd3690ebf89dce597.tar.gz
gentoo-0ed032bfe7ceb673a7068b7bd3690ebf89dce597.tar.bz2
gentoo-0ed032bfe7ceb673a7068b7bd3690ebf89dce597.zip
dev-libs/jansson: Bump to version 2.10
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-libs/jansson')
-rw-r--r--dev-libs/jansson/Manifest1
-rw-r--r--dev-libs/jansson/jansson-2.10.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/jansson/Manifest b/dev-libs/jansson/Manifest
index de3c0599bc9..6c9d3c88063 100644
--- a/dev-libs/jansson/Manifest
+++ b/dev-libs/jansson/Manifest
@@ -1 +1,2 @@
+DIST jansson-2.10.tar.gz 487855 SHA256 78215ad1e277b42681404c1d66870097a50eb084be9d771b1d15576575cf6447 SHA512 e331d5c097b4acb0b1df7d90d1d3453c26bd34bfe2e06af0027665bee9efecc2bc61cc7ab5b70dab1262bf80a3315ffb53b4176874fe07e20eee4b9ea7071d44 WHIRLPOOL 07ccf532f0ff27ac5063fafe0f2a33f4117909365c2dc7dfea6331457712efc5b8b93d519ebfae56fc46fb98b2fc95d858e2efa407bd4dd61935b9cf4cbc00bc
DIST jansson-2.9.tar.gz 485095 SHA256 0ad0d074ca049a36637e7abef755d40849ad73e926b93914ce294927b97bd2a5 SHA512 ae239e1a825c252d7a3b0ee97004c129a0968f7e9da8679dc665a8e54a34c073b0c274bd5af004700b442f7b703bcc76f5e3360ab82172da7203b3458a5e9cb9 WHIRLPOOL 2b9103702680f0e03f5220530938dfcd8fb1b793383bf459200e0e05fffcfd5ec7cecd904ba7fc3c55f237d98f94b6a97c26c3f89b5b26ebcaa830e2eecd4b1f
diff --git a/dev-libs/jansson/jansson-2.10.ebuild b/dev-libs/jansson/jansson-2.10.ebuild
new file mode 100644
index 00000000000..6b758c05a25
--- /dev/null
+++ b/dev-libs/jansson/jansson-2.10.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
+HOMEPAGE="http://www.digip.org/jansson/"
+SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc static-libs"
+
+DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )"
+RDEPEND=""
+
+src_prepare() {
+ default
+ sed -ie 's/-Werror//' src/Makefile.am || die
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" \
+ econf \
+ $(use_enable static-libs static)
+}
+
+multilib_src_compile() {
+ default
+
+ if multilib_is_native_abi && use doc ; then
+ emake html
+ HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. )
+ fi
+}