summaryrefslogtreecommitdiff
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
commite099090de5f5bf5bcbd3cd77cde7cc9e9a74514e (patch)
tree9b90e2322e8d67bbeccf28a267f96ad235b9f564 /dev-ml/fieldslib
parentStable for HPPA (bug #278447). (diff)
downloadhistorical-e099090de5f5bf5bcbd3cd77cde7cc9e9a74514e.tar.gz
historical-e099090de5f5bf5bcbd3cd77cde7cc9e9a74514e.tar.bz2
historical-e099090de5f5bf5bcbd3cd77cde7cc9e9a74514e.zip
initial import, ebuild by me
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/fieldslib')
-rw-r--r--dev-ml/fieldslib/ChangeLog10
-rw-r--r--dev-ml/fieldslib/Manifest14
-rw-r--r--dev-ml/fieldslib/fieldslib-0.1.0.ebuild37
-rw-r--r--dev-ml/fieldslib/metadata.xml11
4 files changed, 72 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/Manifest b/dev-ml/fieldslib/Manifest
new file mode 100644
index 000000000000..5a94a1e3bed2
--- /dev/null
+++ b/dev-ml/fieldslib/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST fieldslib-0.1.0.tgz 23531 RMD160 c0bed7efa1069c3cd74badc36de561a57cb00377 SHA1 5f3ce22f6aaeed5ef5ec0bfa064ff49500f74858 SHA256 bd999bebadd344c83928ef2cddb65112587d808143a3f38736c994bf0b12ade6
+EBUILD fieldslib-0.1.0.ebuild 779 RMD160 3089244161681dea3921946f65c0d6c6469d3a64 SHA1 acda11ed63f3d0c192bf56946966b84099fa5c71 SHA256 58c7d81a16cd2d944c460123353b6b4118e3193cb202e2b67582de46bb6cd1e2
+MISC ChangeLog 365 RMD160 4b2908930252a2e5b1c747da0ad4056654b89504 SHA1 7ee89a93f84dc9688698f63a353404464aa80953 SHA256 859a79f57aaee58303bc969b7a36d92e884622ef46c5ef8649def83ee2f4f0a8
+MISC metadata.xml 489 RMD160 c9097a7a08b7eb3f61cc6b317b2a5d7693fbb977 SHA1 f458c031e7dffbf7f4216c3abe613e7086d5b609 SHA256 b7d80ee14c8c706ef5f534bc64ea13a9403150f5956542ac56a49b8349a70678
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.13 (GNU/Linux)
+
+iEYEARECAAYFAkrm4r8ACgkQvFcC4BYPU0oR3wCeLDFxvFDEGhKcsea/uqHHVfBX
+fLQAoMqrMkcIf/qKnoput1BXpIjpJXgX
+=D1Vh
+-----END PGP SIGNATURE-----
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>