summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-03-15 20:18:57 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-03-15 20:18:57 +0000
commitcca6a10bf3ebd9f7b1d2147934bfbad18e204210 (patch)
treef47617d0b882423c989ab4666fffab5ed4ada546 /dev-ml
parentAdd use deps for libsdl (bug #359079) (diff)
downloadhistorical-cca6a10bf3ebd9f7b1d2147934bfbad18e204210.tar.gz
historical-cca6a10bf3ebd9f7b1d2147934bfbad18e204210.tar.bz2
historical-cca6a10bf3ebd9f7b1d2147934bfbad18e204210.zip
initial import, ebuild by Vladimir Ivanov, bug #355759, with some modifications by me
Package-Manager: portage-2.2.0_alpha27/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-data-notation/ChangeLog11
-rw-r--r--dev-ml/ocaml-data-notation/Manifest14
-rw-r--r--dev-ml/ocaml-data-notation/metadata.xml9
-rw-r--r--dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.3.ebuild42
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-ml/ocaml-data-notation/ChangeLog b/dev-ml/ocaml-data-notation/ChangeLog
new file mode 100644
index 000000000000..19d1ff1501d0
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/ocaml-data-notation
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-data-notation/ChangeLog,v 1.1 2011/03/15 20:18:57 aballier Exp $
+
+*ocaml-data-notation-0.0.3 (15 Mar 2011)
+
+ 15 Mar 2011; Alexis Ballier <aballier@gentoo.org>
+ +ocaml-data-notation-0.0.3.ebuild, +metadata.xml:
+ initial import, ebuild by Vladimir Ivanov, bug #355759, with some
+ modifications by me
+
diff --git a/dev-ml/ocaml-data-notation/Manifest b/dev-ml/ocaml-data-notation/Manifest
new file mode 100644
index 000000000000..55ce5fe0a29d
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ocaml-data-notation-0.0.3.tar.gz 55735 RMD160 375b23539368ee41c691e0d6eb88f5902022e3a6 SHA1 dfa182c721b2055737501c878867ee494706d7cb SHA256 b5ece18759bb688d9067691e3a336f9bf786dbc27860eba7638b818de6313814
+EBUILD ocaml-data-notation-0.0.3.ebuild 1114 RMD160 62af7271d6276ff113b74250c1345c58486c2d32 SHA1 155a1dd187f56efbf119355637daf40e522b9270 SHA256 5e21a73bdf6f6c15baf1a3fc066b1d325f35c8d7e7d0c624d2987a538c40f118
+MISC ChangeLog 464 RMD160 4e308cba73e5657433c4d07376ac4d3eb7edb865 SHA1 57c8b7c5612d3315e9bfb35dd289a70d482b2c2e SHA256 fb977a52ea1798090d67fe46f71945bbbe28fd677b6a14538edb0a3296774a80
+MISC metadata.xml 249 RMD160 eb94c89a6647e6cc5ff168b75a1d5282aefa7a73 SHA1 6bfb6cc9628948c3a1f3221210c6d59aa1ef1f2b SHA256 d4c14c36ffd9245062b47a24024d8fecee009a3795d41e55139c513fe168173e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk1/ybcACgkQvFcC4BYPU0orBwCgkvlhge0GRjeCSe+gOH5iRQ0n
+2q4AoMom2WC9ioLS8D4qp0xPxURSD8Iv
+=HTdT
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocaml-data-notation/metadata.xml b/dev-ml/ocaml-data-notation/metadata.xml
new file mode 100644
index 000000000000..f6b3ee22be88
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<maintainer>
+ <email>v.ivanov@ymail.com</email>
+ <name>Vladimir Ivanov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.3.ebuild b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.3.ebuild
new file mode 100644
index 000000000000..02b8395173d3
--- /dev/null
+++ b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.3.ebuild,v 1.1 2011/03/15 20:18:57 aballier Exp $
+
+EAPI=3
+
+inherit findlib multilib
+
+DESCRIPTION="This project uses type-conv to dump OCaml data structure using OCaml data notation"
+HOMEPAGE="https://forge.ocamlcore.org/projects/odn"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/505/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug +ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
+ >=dev-ml/type-conv-1.5.0"
+DEPEND="${RDEPEND}
+ dev-ml/ounit[ocamlopt?]
+ dev-ml/ocaml-fileutils[ocamlopt?]"
+
+oasis_use_enable() {
+ echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
+}
+
+src_configure() {
+ chmod +x configure
+ ./configure --prefix usr \
+ --libdir /usr/$(get_libdir) \
+ --destdir "${D}" \
+ $(oasis_use_enable debug debug) \
+ $(oasis_use_enable ocamlopt is_native) \
+ || die
+}
+
+src_install() {
+ findlib_src_install
+
+ dodoc README.txt || die "doc install failed"
+}