summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-10-27 12:08:13 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-10-27 12:08:13 +0000
commitcd6f11819a327fd09376e5cead95df8dbb031114 (patch)
tree45ecdd5d3a0276bfc4574310a09a2ecfc95eafaa /dev-ml
parentStable for HPPA (bug #278447). (diff)
downloadgentoo-2-cd6f11819a327fd09376e5cead95df8dbb031114.tar.gz
gentoo-2-cd6f11819a327fd09376e5cead95df8dbb031114.tar.bz2
gentoo-2-cd6f11819a327fd09376e5cead95df8dbb031114.zip
initial import, ebuild by me
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/fieldslib/ChangeLog10
-rw-r--r--dev-ml/fieldslib/fieldslib-0.1.0.ebuild37
-rw-r--r--dev-ml/fieldslib/metadata.xml11
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-ml/fieldslib/ChangeLog b/dev-ml/fieldslib/ChangeLog
new file mode 100644
index 000000000000..acb870d1f529
--- /dev/null
+++ b/dev-ml/fieldslib/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ml/fieldslib
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/ChangeLog,v 1.1 2009/10/27 12:08:13 aballier Exp $
+
+*fieldslib-0.1.0 (27 Oct 2009)
+
+ 27 Oct 2009; Alexis Ballier <aballier@gentoo.org> +fieldslib-0.1.0.ebuild,
+ +metadata.xml:
+ initial import, ebuild by me
+
diff --git a/dev-ml/fieldslib/fieldslib-0.1.0.ebuild b/dev-ml/fieldslib/fieldslib-0.1.0.ebuild
new file mode 100644
index 000000000000..debe76940430
--- /dev/null
+++ b/dev-ml/fieldslib/fieldslib-0.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/fieldslib-0.1.0.ebuild,v 1.1 2009/10/27 12:08:13 aballier Exp $
+
+EAPI="2"
+inherit findlib
+
+DESCRIPTION="Folding over record fields"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://www.janestreet.com/ocaml/${P}.tgz"
+
+LICENSE="LGPL-2.1-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt]
+ dev-ml/type-conv"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P}/lib
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_test() {
+ cd "${WORKDIR}/${P}/sample"
+ emake || die
+ ./test.exe || die
+}
+
+src_install() {
+ findlib_src_preinst
+ emake install || die "make install failed"
+ dodoc ../README
+}
diff --git a/dev-ml/fieldslib/metadata.xml b/dev-ml/fieldslib/metadata.xml
new file mode 100644
index 000000000000..d7fe6e623768
--- /dev/null
+++ b/dev-ml/fieldslib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+ <longdescription lang="en">
+ This library defines a syntax extension for OCaml using Camlp4 that
+ can be used to define first class values representing record fields,
+ and additional routines, to get and set record fields, iterate and fold
+ over all fields of a record and create new record values.
+ </longdescription>
+</pkgmetadata>