commit:     2fd6abffcdc4c227351070effe56b0e5d0576bf6
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 08:58:03 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 08:58:12 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fd6abff

dev-libs/capnproto: Initial import. Bug #519680.

Package-Manager: portage-2.2.24
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 dev-libs/capnproto/Manifest               |  1 +
 dev-libs/capnproto/capnproto-0.5.3.ebuild | 37 +++++++++++++++++++++++++++++++
 dev-libs/capnproto/metadata.xml           |  8 +++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest
new file mode 100644
index 0000000..1090e83
--- /dev/null
+++ b/dev-libs/capnproto/Manifest
@@ -0,0 +1 @@
+DIST capnproto-0.5.3.tar.gz 992100 SHA256 
13c66dc1ce2a038562cddeaf48f71f0bb0e15a1d1a1775efa80dff3cdebeea6c SHA512 
c861d8573f9b37bdce3800cc5f875d972017f01176343a118d3fde70d9d19ad3e0af759ef81f2ab1296515a5ef53ce3aa8f8359843ec1a579d9b48d1603a7d16
 WHIRLPOOL 
fb9530092bf37047c76e6b44dcd8457207a7c1e0a41c86e4e8b79ba66edf9cd4641de78ee17d0f38e1b7213543fcc96be0639aa2dd72c7e7cf61d6e0b022a529

diff --git a/dev-libs/capnproto/capnproto-0.5.3.ebuild 
b/dev-libs/capnproto/capnproto-0.5.3.ebuild
new file mode 100644
index 0000000..c12553b
--- /dev/null
+++ b/dev-libs/capnproto/capnproto-0.5.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools
+
+DESCRIPTION="RPC/Serialization system with capabilities support"
+HOMEPAGE="http://capnproto.org";
+SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs test"
+
+RDEPEND=""
+DEPEND="test? ( dev-cpp/gtest )"
+
+S=${WORKDIR}/${P}/c++
+
+src_prepare() {
+       sed -e 's/ldconfig/true/' -i Makefile.am || die
+       sed -e 's#gtest/lib/libgtest.la gtest/lib/libgtest_main.la#-lgtest 
-lgtest_main#' -i Makefile.am || die
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete
+}

diff --git a/dev-libs/capnproto/metadata.xml b/dev-libs/capnproto/metadata.xml
new file mode 100644
index 0000000..2f31686
--- /dev/null
+++ b/dev-libs/capnproto/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>aball...@gentoo.org</email>
+    <name>Alexis Ballier</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to