summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2012-12-29 20:08:16 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2012-12-29 20:08:16 +0000
commit39cfbba655c5e1e0944a7a45b733449889fe707f (patch)
tree9e55d84dd5723dfb03ae5bc2ccd02b5b269c842a /dev-libs/jsoncpp
parentInitial import. (diff)
downloadhistorical-39cfbba655c5e1e0944a7a45b733449889fe707f.tar.gz
historical-39cfbba655c5e1e0944a7a45b733449889fe707f.tar.bz2
historical-39cfbba655c5e1e0944a7a45b733449889fe707f.zip
Initial import.
Package-Manager: portage-2.1.11.31/cvs/Linux i686 Manifest-Sign-Key: 0x30427902
Diffstat (limited to 'dev-libs/jsoncpp')
-rw-r--r--dev-libs/jsoncpp/Manifest14
-rw-r--r--dev-libs/jsoncpp/jsoncpp-0.5.0.ebuild53
-rw-r--r--dev-libs/jsoncpp/metadata.xml8
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest
index 1cea77363a34..7b423b8590e4 100644
--- a/dev-libs/jsoncpp/Manifest
+++ b/dev-libs/jsoncpp/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
+EBUILD jsoncpp-0.5.0.ebuild 1081 SHA256 01dc5e123962a0e41b58e7129d05d042f72d78e67b55ee1629c9de076cf82661 SHA512 fac5643460d7ad8e8e90ee4370f56994e408359413af871baa6b6e72ac433af8f4f604e9b8ba85b0c1db832d2fafa4f105dbaf231ab790f8a7f5425131d873f2 WHIRLPOOL 56fc9ecc41060e34b0dd01c71c73d3eaa833784c83f83742d9bf5b5756d1f6537aa817bc92beb1323ee57cf8855d44c47e17dffd99a7c67213a1a8389d4b5d59
+MISC ChangeLog 353 SHA256 c4a493963a0b47260cbb1f0db67eb038517bceb1daa5854c63a9308e86760fa4 SHA512 28cad1ebc481c9f0e494b12c971831d569014a3c073a00056c75fee60de9c1b0a08c1a867499a837ec08de29792ba8500efc41d268852439912bc7ea1b15f069 WHIRLPOOL 49049d8eaa376ff41f894b5817825fe0629799e1ff3a687e2ca9f666dc4cceb5f036a255e2f981f025c60eb9a633bbd9cef1b9134eac3769cf00889af9a6fe12
MISC metadata.xml 238 SHA256 f5bfe7b3171e6a50ad6d8fb7da8ae5c20f228d93ecaaef9beea6a72d34be799a SHA512 47b8cae5eebe8b9d6fa205aad45794dd8f2af0bc09299de0a93858c1eab62ee24418bdc824f7b157e0958945664fb109fe25178af515e54f21a7ea329f79fbf5 WHIRLPOOL 332a0c68dc5ae1e45a1c2852c534c00531da9d1792b0bc665e0630e9f6dda28f623880c72b9e07ea3b9fa5c96e7451417b8643cf1e44a31b315f639910584acb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlDfTa4ACgkQuUQtlDBCeQIK1QCfRBGCNtGEfd+7N50XtIGOegw+
+AKcAn3ZeAflI7XNpsXzI0evzTPOs74Dt
+=PXNg
+-----END PGP SIGNATURE-----
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>