summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2012-12-29 20:08:06 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2012-12-29 20:08:06 +0000
commit6a5478e85228a40c29bc5582fb1e20a6e6fb4ad0 (patch)
treea31555d4f291cfa870ed62115a71f72662f6b3e2 /dev-libs/jsoncpp
parentDo not install static library in /lib (bug #449224, thanks to BillWho). Updat... (diff)
downloadgentoo-2-6a5478e85228a40c29bc5582fb1e20a6e6fb4ad0.tar.gz
gentoo-2-6a5478e85228a40c29bc5582fb1e20a6e6fb4ad0.tar.bz2
gentoo-2-6a5478e85228a40c29bc5582fb1e20a6e6fb4ad0.zip
Initial import.
(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 30427902)
Diffstat (limited to 'dev-libs/jsoncpp')
-rw-r--r--dev-libs/jsoncpp/ChangeLog10
-rw-r--r--dev-libs/jsoncpp/Manifest4
-rw-r--r--dev-libs/jsoncpp/jsoncpp-0.5.0.ebuild53
-rw-r--r--dev-libs/jsoncpp/metadata.xml8
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-libs/jsoncpp/ChangeLog b/dev-libs/jsoncpp/ChangeLog
new file mode 100644
index 000000000000..5a4bd4f15f76
--- /dev/null
+++ b/dev-libs/jsoncpp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/jsoncpp
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v 1.1 2012/12/29 20:08:06 phajdan.jr Exp $
+
+*jsoncpp-0.5.0 (29 Dec 2012)
+
+ 29 Dec 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> +jsoncpp-0.5.0.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest
new file mode 100644
index 000000000000..1cea77363a34
--- /dev/null
+++ b/dev-libs/jsoncpp/Manifest
@@ -0,0 +1,4 @@
+DIST jsoncpp-src-0.5.0.tar.gz 107466 SHA256 22b14ecd0de8cdad2b6b6839f6d0804d3b84e91f42861ebd843832a26a927433 SHA512 2815d3523f92c33a5be3221161a590a0fddd16cb22e5dc634791535ee44271ec4fbb64f81cc958a87b1f029a8108ed9f169cda5a2d0422f60699ac286386a1bc WHIRLPOOL f6174f08dc647a189fc17f93343a72fb83bea66f27e60707b6bf300a185d4d3e8d5f347dd6f0d06462e45086c7c1dbd352e22ac08fef13d9235a65bad44f0d67
+EBUILD jsoncpp-0.5.0.ebuild 978 SHA256 890beb85ca00470c30f3ceca847dfd46af694f64cf52c40fb6cad21923e3bdbc SHA512 c0e7368776af6d678ca77786f338fb6858ed4c7cd476052c53750d05371194d85326a5cbd0267b8dd11f4aa8b8ad112f81e70892b9bb0ab74a9e1ba9f1abb110 WHIRLPOOL 38672dd1e6c264e16411e2772036b5406eee3e22180d2d1d7d10aa421aa7f8944877f49e8802bd9288db74822d2efe08c8e52e04c8c97f31bb96f21edf3f2421
+MISC ChangeLog 261 SHA256 ca0c4d683f996b127d1eef74b5f05a89ed80fa5668de5d2265a94ec3bb2ee536 SHA512 e54758fb2c3c212721c8177939e55a3acaf94adcd5f294e1a6dac0330470f6135aadf82d00de593a38537535bd51a74758a27465ed52007fa5c26e2cc11108b4 WHIRLPOOL 1704ae13e513b4fcbab6876e7946d1fa61a38f38ba3040472b0a223bf79636efa5a7af2cd59cdaa2f361c44cb137d4ba008d7c3ae6fb766043ef443ee5ee64a5
+MISC metadata.xml 238 SHA256 f5bfe7b3171e6a50ad6d8fb7da8ae5c20f228d93ecaaef9beea6a72d34be799a SHA512 47b8cae5eebe8b9d6fa205aad45794dd8f2af0bc09299de0a93858c1eab62ee24418bdc824f7b157e0958945664fb109fe25178af515e54f21a7ea329f79fbf5 WHIRLPOOL 332a0c68dc5ae1e45a1c2852c534c00531da9d1792b0bc665e0630e9f6dda28f623880c72b9e07ea3b9fa5c96e7451417b8643cf1e44a31b315f639910584acb
diff --git a/dev-libs/jsoncpp/jsoncpp-0.5.0.ebuild b/dev-libs/jsoncpp/jsoncpp-0.5.0.ebuild
new file mode 100644
index 000000000000..d327bfb1023f
--- /dev/null
+++ b/dev-libs/jsoncpp/jsoncpp-0.5.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 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.1 2012/12/29 20:08:06 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="~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
+}
diff --git a/dev-libs/jsoncpp/metadata.xml b/dev-libs/jsoncpp/metadata.xml
new file mode 100644
index 000000000000..d047926ffe02
--- /dev/null
+++ b/dev-libs/jsoncpp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>phajdan.jr@gentoo.org</email>
+ <name>Pawel Hajdan jr</name>
+ </maintainer>
+</pkgmetadata>