Skip to content

Commit

Permalink
dev-ml/mongo: initial import; ebuild by me
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Feb 6, 2016
1 parent 3fc68d2 commit 9cce317
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/mongo/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST mongo-0.67.2.tar.gz 81611 SHA256 e79636dd9f32655f25c07d5fa64533932c3c0d1b2070dfdb44cfb12f5bd74b00 SHA512 779e214b10eb50fe06b9336cd515566b8091bd678b86ad91f5d437dd25b81d3e6996f2f09226061b836fad5c994a9c30edafdb76b7ef5d617fb701d830191c9d WHIRLPOOL 51e3ed11e8dc5399705eb50c72f7d172f3131f91475b352088c72292c1b75d611809e68e0178c281de0b60e797610ead418146712cadfd4c423f26201ba26666
9 changes: 9 additions & 0 deletions dev-ml/mongo/files/noinstalltest.patch
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions dev-ml/mongo/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>
27 changes: 27 additions & 0 deletions dev-ml/mongo/mongo-0.67.2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 9cce317

Please sign in to comment.