summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-23 16:00:27 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-24 13:07:15 +0200
commit2376952c95be988f1add2ffb45f175d8681c7653 (patch)
tree2df8077ddece627ba508fccec471daa9139f4c04 /dev-ml/integers
parentdev-ml/oasis: Bump to 0.4.10 (diff)
downloadgentoo-2376952c95be988f1add2ffb45f175d8681c7653.tar.gz
gentoo-2376952c95be988f1add2ffb45f175d8681c7653.tar.bz2
gentoo-2376952c95be988f1add2ffb45f175d8681c7653.zip
dev-ml/integers: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/integers')
-rw-r--r--dev-ml/integers/Manifest1
-rw-r--r--dev-ml/integers/integers-0.2.2.ebuild31
-rw-r--r--dev-ml/integers/metadata.xml11
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ml/integers/Manifest b/dev-ml/integers/Manifest
new file mode 100644
index 000000000000..8a8d4e4bc611
--- /dev/null
+++ b/dev-ml/integers/Manifest
@@ -0,0 +1 @@
+DIST integers-0.2.2.tbz 9155 SHA256 937b438e23cedcf06551dbe717cf61ce2a34a573b51bdc2aa0c35b84b8a46121 SHA512 957ec87f385916a847eeccef1142d706cf2bf9024a4f0b97120f73a2eda4c049261078bc27227db14bfed53bf014da14a93ef75b515a851af72088bd8b04081a WHIRLPOOL 26b153c71958c5b83a96aa23c5f7ef468629a79cc07b541e8821037b7f315f1294dfd536ca23ed268d83b1e5054f6755f459225cdda25a0b5b57145fb18ea914
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..7bb1dc4041c6
--- /dev/null
+++ b/dev-ml/integers/integers-0.2.2.ebuild
@@ -0,0 +1,31 @@
+# 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"
+IUSE=""
+
+RDEPEND="dev-lang/ocaml:="
+DEPEND="${RDEPEND}
+ dev-ml/ocamlbuild
+ 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>