summaryrefslogtreecommitdiff
path: root/dev-ml/integers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/integers
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/integers')
-rw-r--r--dev-ml/integers/Manifest3
-rw-r--r--dev-ml/integers/integers-0.2.2.ebuild32
-rw-r--r--dev-ml/integers/metadata.xml11
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ml/integers/Manifest b/dev-ml/integers/Manifest
new file mode 100644
index 000000000000..c4953c7d7ead
--- /dev/null
+++ b/dev-ml/integers/Manifest
@@ -0,0 +1,3 @@
+DIST integers-0.2.2.tbz 9155 SHA256 937b438e23cedcf06551dbe717cf61ce2a34a573b51bdc2aa0c35b84b8a46121 SHA512 957ec87f385916a847eeccef1142d706cf2bf9024a4f0b97120f73a2eda4c049261078bc27227db14bfed53bf014da14a93ef75b515a851af72088bd8b04081a WHIRLPOOL 26b153c71958c5b83a96aa23c5f7ef468629a79cc07b541e8821037b7f315f1294dfd536ca23ed268d83b1e5054f6755f459225cdda25a0b5b57145fb18ea914
+EBUILD integers-0.2.2.ebuild 719 SHA256 5b9925f03874312c00743ee9c988853d9dc178e53a8b0d7ff4652497e5ba262c SHA512 21135775106bcfa74b9a752fc5ca97577921cd9cd1bb7741dfdd43a85c2272afa617577c0efacce50f63dfa0c1860d134be8d68230de5687881cb25d41375399 WHIRLPOOL 4b10d5e93a67fe6e1023ca87ca92493192c248d9e86a765b0ee8d7204be48fd38d4fc3426970c58956d6d1af50f373fc8615f3be3fb19fb624680079057acfe7
+MISC metadata.xml 335 SHA256 68661c76faf9103882aa37bb3da5410dc342cc1e9f4f23e2a5dcaeab4efb2e8a SHA512 c0ed4974dbd4e1ec209d7a908ff6c009eefebbf2a6b0be80a6bcab42d29d742e81219ac39b8f9c8691af4f7b020a6ef3f7f789c2719345f60b6ac62d9751b33f WHIRLPOOL 477869837a37337d1c292eb366da569f8a527b4f0ea6d6627e1c148d5df9e75eaf1677b6edef09221ca0942cf176420cf841168534749e40aa8c25f48a3d0d0f
diff --git a/dev-ml/integers/integers-0.2.2.ebuild b/dev-ml/integers/integers-0.2.2.ebuild
new file mode 100644
index 000000000000..224d5da47dae
--- /dev/null
+++ b/dev-ml/integers/integers-0.2.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Various signed and unsigned integer types for OCaml"
+HOMEPAGE="https://github.com/ocamllabs/ocaml-integers"
+SRC_URI="https://github.com/ocamllabs/ocaml-integers/releases/download/v${PV}/${P}.tbz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE=""
+
+RDEPEND="dev-lang/ocaml:="
+DEPEND="${RDEPEND}
+ dev-ml/ocamlbuild
+ dev-ml/opam
+ dev-ml/topkg
+ dev-ml/findlib"
+
+src_compile() {
+ ocaml pkg/pkg.ml build || die
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+}
diff --git a/dev-ml/integers/metadata.xml b/dev-ml/integers/metadata.xml
new file mode 100644
index 000000000000..7a15e07dd0ad
--- /dev/null
+++ b/dev-ml/integers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+ <upstream>
+ <remote-id type="github">ocamllabs/ocaml-integers</remote-id>
+ </upstream>
+</pkgmetadata>