summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-11-07 19:22:39 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-11-07 19:22:39 +0000
commitc2cdb7519ae182b53984867b7d9bfe40cc67edb1 (patch)
treecf1da2c19a62d559e29da48760971fffa9d55142 /dev-ml
parentVersion bump. Do not set DEPEND. (diff)
downloadgentoo-2-c2cdb7519ae182b53984867b7d9bfe40cc67edb1.tar.gz
gentoo-2-c2cdb7519ae182b53984867b7d9bfe40cc67edb1.tar.bz2
gentoo-2-c2cdb7519ae182b53984867b7d9bfe40cc67edb1.zip
initial import, ebuild by me
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/obrowser/ChangeLog10
-rw-r--r--dev-ml/obrowser/metadata.xml5
-rw-r--r--dev-ml/obrowser/obrowser-1.1.ebuild32
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ml/obrowser/ChangeLog b/dev-ml/obrowser/ChangeLog
new file mode 100644
index 000000000000..86c5bdea0ae4
--- /dev/null
+++ b/dev-ml/obrowser/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ml/obrowser
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/obrowser/ChangeLog,v 1.1 2010/11/07 19:22:39 aballier Exp $
+
+*obrowser-1.1 (07 Nov 2010)
+
+ 07 Nov 2010; Alexis Ballier <aballier@gentoo.org> +obrowser-1.1.ebuild,
+ +metadata.xml:
+ initial import, ebuild by me
+
diff --git a/dev-ml/obrowser/metadata.xml b/dev-ml/obrowser/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/obrowser/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/obrowser/obrowser-1.1.ebuild b/dev-ml/obrowser/obrowser-1.1.ebuild
new file mode 100644
index 000000000000..81c26c80e5a6
--- /dev/null
+++ b/dev-ml/obrowser/obrowser-1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/obrowser/obrowser-1.1.ebuild,v 1.1 2010/11/07 19:22:39 aballier Exp $
+
+EAPI=3
+
+inherit findlib
+
+DESCRIPTION="OCaml virtual machine written in Javascript, to run OCaml program in browsers"
+HOMEPAGE="http://ocsigen.org/obrowser/"
+SRC_URI="http://ocsigen.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 GPL-3 WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-lang/ocaml-3.11.0"
+DEPEND="${RDEPEND}
+ app-arch/sharutils"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ emake -j1 EXAMPLES_TARGETS="" || die
+}
+
+src_install() {
+ findlib_src_preinst
+ OCAMLPATH=${OCAMLFIND_DESTDIR} emake DESTDIR="${D}" install || die
+ dodoc README.TXT || die
+}