public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dev-zero:master commit in: dev-libs/jsoncpp/
Date: Sun, 20 Jan 2013 13:35:41 +0000 (UTC)	[thread overview]
Message-ID: <1358688363.1d92dd4ec899957fc6aa636beab595601d653123.dev-zero@gentoo> (raw)

commit:     1d92dd4ec899957fc6aa636beab595601d653123
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Sun Jan 20 13:26:03 2013 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sun Jan 20 13:26:03 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=1d92dd4e

Add version bump of jsoncpp based on the in-tree ebuild required by cocaine-core.

---
 dev-libs/jsoncpp/Manifest                 |    2 +
 dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild |   53 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest
new file mode 100644
index 0000000..26b6098
--- /dev/null
+++ b/dev-libs/jsoncpp/Manifest
@@ -0,0 +1,2 @@
+DIST jsoncpp-src-0.6.0-rc2.tar.gz 117661 SHA256 d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283 SHA512 5d44e766aa2d7657bc68cf16173130febaa6744d5fca0c6df5465617a3f306023a17cbeb07a62ad1a34c2d183d916401b4be48f37c2416c895db4ad5d9481b3d WHIRLPOOL bfa7e70e14f3ed0911c5127da0d2099ca8b9159a900a5bc5147d1e50b5a9f9d5be69a8d46a761d277ca1edabaab8d0d3b9f81417572e4664ed8239fd83c953e6
+EBUILD jsoncpp-0.6.0_rc2.ebuild 1092 SHA256 8af1e0d6cf0c98c6679b3c63faa695988dc3aaf08eb3fc03e0d07bb5fd00b31b SHA512 ecd3bd409114aee34becd0fb3e337d901b17337e5c86f8f87d22f6668b1f731ca251680ba2a53d3a834c7f58fedc10790738f234395eb9928d282d5e7e303d2b WHIRLPOOL 7f203fb631102e2638cd35d4bb2e572978bf7cecc161f6eaba042e9b84f8d5de3f837f526673e0a74f38d1d9504ecb39a4ccf70cc65d1ae9303dd1f0779f1887

diff --git a/dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild b/dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild
new file mode 100644
index 0000000..fc51f3e
--- /dev/null
+++ b/dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.5.0.ebuild,v 1.2 2013/01/08 04:15:11 phajdan.jr Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit toolchain-funcs python-any-r1
+
+MY_P="${PN}-src-${PV/_/-}"
+
+DESCRIPTION="C++ JSON reader and writer"
+HOMEPAGE="http://jsoncpp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+LICENSE="public-domain"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="
+	doc? (
+		app-doc/doxygen
+		${PYTHON_DEPS}
+	)"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+cxx_wrapper() {
+	set -- $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} "$@"
+	echo "$@"
+	"$@"
+}
+
+src_compile() {
+	soname=libjsoncpp.so.${PV}
+	cxx_wrapper src/lib_json/*.cpp -Iinclude -shared -fPIC \
+		-Wl,-soname,${soname} -o ${soname} || die
+}
+
+src_install() {
+	insinto /usr
+	doins -r include
+
+	dolib ${soname}
+	dosym ${soname} /usr/$(get_libdir)/libjsoncpp.so
+
+	if use doc; then
+		${EPYTHON} doxybuild.py --doxygen=/usr/bin/doxygen || die
+		dohtml dist/doxygen/jsoncpp*/*
+	fi
+}


             reply	other threads:[~2013-01-20 13:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-20 13:35 Tiziano Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-31  7:37 [gentoo-commits] dev/dev-zero:master commit in: dev-libs/jsoncpp/ Tiziano Müller
2013-01-31  9:19 Tiziano Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358688363.1d92dd4ec899957fc6aa636beab595601d653123.dev-zero@gentoo \
    --to=dev-zero@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox