Skip to content

Commit

Permalink
dev-ml/integers: initial import
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
aballier committed May 24, 2017
1 parent a014a2a commit 2376952
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/integers/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST integers-0.2.2.tbz 9155 SHA256 937b438e23cedcf06551dbe717cf61ce2a34a573b51bdc2aa0c35b84b8a46121 SHA512 957ec87f385916a847eeccef1142d706cf2bf9024a4f0b97120f73a2eda4c049261078bc27227db14bfed53bf014da14a93ef75b515a851af72088bd8b04081a WHIRLPOOL 26b153c71958c5b83a96aa23c5f7ef468629a79cc07b541e8821037b7f315f1294dfd536ca23ed268d83b1e5054f6755f459225cdda25a0b5b57145fb18ea914
31 changes: 31 additions & 0 deletions dev-ml/integers/integers-0.2.2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions dev-ml/integers/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo ML Project</name>
</maintainer>
<upstream>
<remote-id type="github">ocamllabs/ocaml-integers</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 2376952

Please sign in to comment.