dev-ml/mongo: initial import; ebuild by me
authorAlexis Ballier <aballier@gentoo.org>
Sat, 6 Feb 2016 16:04:44 +0000 (17:04 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 6 Feb 2016 16:16:05 +0000 (17:16 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ml/mongo/Manifest [new file with mode: 0644]
dev-ml/mongo/files/noinstalltest.patch [new file with mode: 0644]
dev-ml/mongo/metadata.xml [new file with mode: 0644]
dev-ml/mongo/mongo-0.67.2.ebuild [new file with mode: 0644]

diff --git a/dev-ml/mongo/Manifest b/dev-ml/mongo/Manifest
new file mode 100644 (file)
index 0000000..67a5734
--- /dev/null
@@ -0,0 +1 @@
+DIST mongo-0.67.2.tar.gz 81611 SHA256 e79636dd9f32655f25c07d5fa64533932c3c0d1b2070dfdb44cfb12f5bd74b00 SHA512 779e214b10eb50fe06b9336cd515566b8091bd678b86ad91f5d437dd25b81d3e6996f2f09226061b836fad5c994a9c30edafdb76b7ef5d617fb701d830191c9d WHIRLPOOL 51e3ed11e8dc5399705eb50c72f7d172f3131f91475b352088c72292c1b75d611809e68e0178c281de0b60e797610ead418146712cadfd4c423f26201ba26666
diff --git a/dev-ml/mongo/files/noinstalltest.patch b/dev-ml/mongo/files/noinstalltest.patch
new file mode 100644 (file)
index 0000000..4166a70
--- /dev/null
@@ -0,0 +1,9 @@
+Index: mongo-0.67.2/_oasis
+===================================================================
+--- mongo-0.67.2.orig/_oasis
++++ mongo-0.67.2/_oasis
+@@ -51,3 +51,4 @@ Executable test
+   BuildTools:    ocamlbuild
+   BuildDepends:  unix, mongo, bson
+   CompiledObject: native
++  Install:     false
diff --git a/dev-ml/mongo/metadata.xml b/dev-ml/mongo/metadata.xml
new file mode 100644 (file)
index 0000000..ffac4d7
--- /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="project">
+       <email>ml@gentoo.org</email>
+       <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/mongo/mongo-0.67.2.ebuild b/dev-ml/mongo/mongo-0.67.2.ebuild
new file mode 100644 (file)
index 0000000..9c43349
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="An ocaml driver for mongodb"
+HOMEPAGE="http://massd.github.io/"
+SRC_URI="https://github.com/MassD/mongo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+       dev-ml/bson:=
+       dev-ml/lwt:=
+"
+DEPEND="${RDEPEND} dev-ml/oasis"
+
+src_prepare() {
+       epatch "${FILESDIR}/noinstalltest.patch"
+       oasis setup || die
+}