dev-cpp/picojson: initial import; ebuild by me
authorAlexis Ballier <aballier@gentoo.org>
Tue, 15 Mar 2016 19:24:31 +0000 (20:24 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 15 Mar 2016 19:24:31 +0000 (20:24 +0100)
Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-cpp/picojson/Manifest [new file with mode: 0644]
dev-cpp/picojson/metadata.xml [new file with mode: 0644]
dev-cpp/picojson/picojson-1.3.0.ebuild [new file with mode: 0644]

diff --git a/dev-cpp/picojson/Manifest b/dev-cpp/picojson/Manifest
new file mode 100644 (file)
index 0000000..287843a
--- /dev/null
@@ -0,0 +1 @@
+DIST picojson-1.3.0.tar.gz 14695 SHA256 056805ca2691798f5545935a14bb477f2e1d827c9fb862e6e449dbea22801c7d SHA512 76d5a6b3b9e1151198eee707faffcbbba28a2842daccf03d99a5d02ae017f9517ef3ac9da4acc74a4fc1357feaf19e14a15c34698a1d4cb65acb6d23b566b284 WHIRLPOOL 6712331107e5900c68db49f0eab9c18333717ea7e2fe407c684b8c0bb88616665664b995107772056179d4254fb3dde510858f623c76b8b9c3b9bd768043c19c
diff --git a/dev-cpp/picojson/metadata.xml b/dev-cpp/picojson/metadata.xml
new file mode 100644 (file)
index 0000000..d8d5cc7
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>aballier@gentoo.org</email>
+               <name>Alexis Ballier</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-cpp/picojson/picojson-1.3.0.ebuild b/dev-cpp/picojson/picojson-1.3.0.ebuild
new file mode 100644 (file)
index 0000000..ecd4abe
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Header-file-only, JSON parser serializer in C++"
+HOMEPAGE="https://github.com/kazuho/picojson"
+SRC_URI="https://github.com/kazuho/picojson/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_compile() {
+       :
+}
+
+src_test() {
+       tc-export CXX
+       emake test
+}
+
+src_install() {
+       emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install
+       dodoc README.mkdn Changes
+}