dev-ml/integers: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Alexis Ballier
2017-05-23 16:00:27 +02:00
parent a014a2a29b
commit 2376952c95
3 changed files with 43 additions and 0 deletions

1
dev-ml/integers/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST integers-0.2.2.tbz 9155 SHA256 937b438e23cedcf06551dbe717cf61ce2a34a573b51bdc2aa0c35b84b8a46121 SHA512 957ec87f385916a847eeccef1142d706cf2bf9024a4f0b97120f73a2eda4c049261078bc27227db14bfed53bf014da14a93ef75b515a851af72088bd8b04081a WHIRLPOOL 26b153c71958c5b83a96aa23c5f7ef468629a79cc07b541e8821037b7f315f1294dfd536ca23ed268d83b1e5054f6755f459225cdda25a0b5b57145fb18ea914

View File

@@ -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
}

View File

@@ -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>