aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2016-10-16 23:49:27 +0200
committerGerion Entrup <gerion.entrup@flump.de>2016-10-16 23:49:27 +0200
commit29f61dbe822e0ec3e50e67f7e3a3f0bed3f28d0d (patch)
treea3616f2e7c2d15f647dfc3c8af91307380aa8a32 /dev-libs
parentdrop xbmc (diff)
downloadgerislay-29f61dbe822e0ec3e50e67f7e3a3f0bed3f28d0d.tar.gz
gerislay-29f61dbe822e0ec3e50e67f7e3a3f0bed3f28d0d.tar.bz2
gerislay-29f61dbe822e0ec3e50e67f7e3a3f0bed3f28d0d.zip
add multiarch enabled version of jansson
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/jansson/Manifest2
-rw-r--r--dev-libs/jansson/jansson-2.7-r1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/jansson/Manifest b/dev-libs/jansson/Manifest
new file mode 100644
index 0000000..3d7001f
--- /dev/null
+++ b/dev-libs/jansson/Manifest
@@ -0,0 +1,2 @@
+DIST jansson-2.7.tar.gz 445179 SHA256 7905e6590fb316c0ff943df3dc6a21cd81a59cff7a6d12514054c359d04d78d7 SHA512 657b715868c2fbf8da1e41befee2691524190e12255214c472652ca3e3793b03e2b384dc3aedb1071b67b0b8cb57fd495103979983fe21a2404f12cd70295a28 WHIRLPOOL 684c0a1cae8cbd86d1a4e19bcfa59f36bf6094853ce5e18bd600fcb27fb1afac250e52c1983f888fcae06437c6e142b2ea3823c911b5a2923f4775494d26690f
+EBUILD jansson-2.7-r1.ebuild 837 SHA256 5d71796b6f00ffe4532fdaae0808b7fb49a8caa74715fcc5256f865b6e4e146c SHA512 3c4d40da0f539d4f3b09df9fa1a33ca5e228226c4e3ba11057e89f58874e13cdb4a2140275e5107ca539909d5f900a29f62113f400f45ee16d84ea94e2923822 WHIRLPOOL 6813b9169c0096bf4ddbdd6d16165622e1fd6266263ba0aed3b4676ce51bc153e98bdad7e20b7fca597c8ab9848aeee38ba4baa2654c10b2c68c441b2e841d07
diff --git a/dev-libs/jansson/jansson-2.7-r1.ebuild b/dev-libs/jansson/jansson-2.7-r1.ebuild
new file mode 100644
index 0000000..1b6d049
--- /dev/null
+++ b/dev-libs/jansson/jansson-2.7-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-multilib
+
+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="~amd64 ~x86"
+IUSE="doc static-libs"
+
+DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )"
+RDEPEND=""
+
+DOCS=(CHANGES README.rst)
+
+multilib_src_prepare() {
+ sed -ie 's/-Werror//' src/Makefile.am || die
+ autotools-utils_src_prepare
+}
+
+multilib_src_compile() {
+ autotools-utils_src_compile
+
+ use doc && autotools-utils_src_compile html
+}
+
+multilib_src_install_all() {
+ use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/_build/html/")
+ autotools-utils_src_install
+}