commit:     a5c822bb3fcadb21b347bb02c05aedd30e492e67
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 20:43:59 2016 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 21:09:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c822bb

dev-libs/boost-mpl-cartesian_product: initial commit

Package-Manager: portage-2.3.0

 dev-libs/boost-mpl-cartesian_product/Manifest      |  1 +
 .../boost-mpl-cartesian_product-20161205.ebuild    | 42 ++++++++++++++++++++++
 dev-libs/boost-mpl-cartesian_product/metadata.xml  | 12 +++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-libs/boost-mpl-cartesian_product/Manifest 
b/dev-libs/boost-mpl-cartesian_product/Manifest
new file mode 100644
index 00000000..59bc795
--- /dev/null
+++ b/dev-libs/boost-mpl-cartesian_product/Manifest
@@ -0,0 +1 @@
+DIST boost-mpl-cartesian_product-20161205.tar.gz 4391 SHA256 
0a9d76fd85b0a90126f9a640d1e8b314c29677cee0a1a55210f099a21c1d0886 SHA512 
cbe1f10b45bbb3db84bba7aa935698d7d79a59ae8b40c786df31da2936500feffe5589755ea53f31e3fc869ca4e87a880f013967d2829ce55412900b244252e7
 WHIRLPOOL 
af5e035f035960ecc0f233fa0516367594783e6dd8da7d3b9528edc033fc90ebb9bd9ee3701ce3c3a3fde1f9c39e6f349a0bc437024df23760ae61a8c5d72ea7

diff --git 
a/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild
 
b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild
new file mode 100644
index 00000000..890a754
--- /dev/null
+++ 
b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit vcs-snapshot toolchain-funcs
+
+COMMIT="aeb0266b3a89f32c390dff51cb73a454d5d7a745"
+DESCRIPTION="an extension to the Boost.MPL library"
+HOMEPAGE="http://www.organicvectory.com/index.php?option=com_content&view=article&id=75:boostmplcartesianproduct&catid=42:boost&Itemid=78";
+SRC_URI="https://github.com/quinoacomputing/BoostMPLCartesianProduct/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-libs/boost"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+       use test || return
+       local i
+       for i in $(find libs/mpl -name "*.cpp"); do
+               echo $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}"
+               $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}" || die
+       done
+}
+
+src_test() {
+       local i
+       for i in $(find libs/mpl -name "*.cpp"); do
+               echo "${i%.cpp}"
+               "${i%.cpp}" || die
+       done
+}
+
+src_install() {
+       insinto /usr/include/boost/mpl
+       doins boost/mpl/cartesian_product.hpp
+}

diff --git a/dev-libs/boost-mpl-cartesian_product/metadata.xml 
b/dev-libs/boost-mpl-cartesian_product/metadata.xml
new file mode 100644
index 00000000..903883b
--- /dev/null
+++ b/dev-libs/boost-mpl-cartesian_product/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>jungh...@gentoo.org</email>
+               <name>Christoph Junghans</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to