diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 16:16:28 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-02 10:37:44 +0200 |
commit | e12cfa959a72646a203c27925a3ab0f2842e9920 (patch) | |
tree | 5e2a846b548f656bef12498b5d770fe7b15c7cbb /dev-ml/base | |
parent | dev-ml/jbuilder: Bump to 1.0 beta6( (diff) | |
download | gentoo-e12cfa959a72646a203c27925a3ab0f2842e9920.tar.gz gentoo-e12cfa959a72646a203c27925a3ab0f2842e9920.tar.bz2 gentoo-e12cfa959a72646a203c27925a3ab0f2842e9920.zip |
dev-ml/base: Initial import. Ebuild by me.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/base')
-rw-r--r-- | dev-ml/base/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/base/base-0.9.1.ebuild | 29 | ||||
-rw-r--r-- | dev-ml/base/metadata.xml | 8 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ml/base/Manifest b/dev-ml/base/Manifest new file mode 100644 index 000000000000..b18ff969a23b --- /dev/null +++ b/dev-ml/base/Manifest @@ -0,0 +1 @@ +DIST base-0.9.1.tar.gz 286498 SHA256 4a616dbbb6c85bee4e0dc03a1ba94928a74eb5cd1ac63e3b9f060a2f85a1ad79 SHA512 e1eb26eb07ee3489c8f42a886e2131bcc5eb5e965727eb29910e3aa37cdab6d23bfbf71421e16b77d9fe20a69392f9313ad6189c9618013794f0ed7df8c76c52 WHIRLPOOL 31674e5490d8ed63d584f56b42db9c48a83153694ee03dd7d499ec7bea6b0dcb8528a45f79fd3ae35a4a29f415c6abb3a06f603ad6478a2af13a928802b729ff diff --git a/dev-ml/base/base-0.9.1.ebuild b/dev-ml/base/base-0.9.1.ebuild new file mode 100644 index 000000000000..940d7025ad2b --- /dev/null +++ b/dev-ml/base/base-0.9.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Standard library for OCaml" +HOMEPAGE="https://github.com/janestreet/base" +SRC_URI="https://github.com/janestreet/base/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-lang/ocaml:= dev-ml/sexplib:=" +DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" + +src_test() { + jbuilder runtest || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + dodoc ROADMAP.md README.org +} diff --git a/dev-ml/base/metadata.xml b/dev-ml/base/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/dev-ml/base/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |