summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-05-05 08:38:30 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-05-05 08:38:30 +0000
commitc57cc46f78b8502f390cf7db5f0d98e41b4c3ca8 (patch)
tree52c704505def5ffed4822fdbbdd112ffd17d726d /dev-libs/jansson
parentdev-util/pkgconfig -> virtual/pkgconfig (diff)
downloadgentoo-2-c57cc46f78b8502f390cf7db5f0d98e41b4c3ca8.tar.gz
gentoo-2-c57cc46f78b8502f390cf7db5f0d98e41b4c3ca8.tar.bz2
gentoo-2-c57cc46f78b8502f390cf7db5f0d98e41b4c3ca8.zip
Version bump. Bug #412835
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/jansson')
-rw-r--r--dev-libs/jansson/ChangeLog7
-rw-r--r--dev-libs/jansson/jansson-2.3.1.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-libs/jansson/ChangeLog b/dev-libs/jansson/ChangeLog
index 2b27fd752ceb..62211a2b973c 100644
--- a/dev-libs/jansson/ChangeLog
+++ b/dev-libs/jansson/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/jansson
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/jansson/ChangeLog,v 1.2 2012/02/03 22:50:37 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/jansson/ChangeLog,v 1.3 2012/05/05 08:38:30 hwoarang Exp $
+
+*jansson-2.3.1 (05 May 2012)
+
+ 05 May 2012; Markos Chandras <hwoarang@gentoo.org> +jansson-2.3.1.ebuild:
+ Version bump. Bug #412835
*jansson-2.3 (03 Feb 2012)
diff --git a/dev-libs/jansson/jansson-2.3.1.ebuild b/dev-libs/jansson/jansson-2.3.1.ebuild
new file mode 100644
index 000000000000..ed3c61bb2879
--- /dev/null
+++ b/dev-libs/jansson/jansson-2.3.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/jansson/jansson-2.3.1.ebuild,v 1.1 2012/05/05 08:38:30 hwoarang Exp $
+
+EAPI="3"
+
+inherit autotools-utils
+
+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)
+
+src_prepare() {
+ sed -ie 's/-Werror//' src/Makefile.am || die
+ eautoreconf
+ autotools-utils_src_prepare
+}
+
+src_compile() {
+ autotools-utils_src_compile
+
+ use doc && autotools-utils_src_compile html
+}
+
+src_install() {
+ use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/_build/html/")
+ autotools-utils_src_install
+}