dev-ml/jbuilder: Initial import; ebuild by me

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Alexis Ballier
2017-03-29 08:46:31 +02:00
parent 96e8c300a3
commit f4d86918e1
3 changed files with 44 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST jbuilder-1.0-beta5.tar.gz 198050 SHA256 c246311e6b05569c04db4d16f065b2b18f8f2d9a58a5c43445b65fa87f1092c4 SHA512 b972171ca237e6f8674b6165cefb1c35158d871922fc6fed9c226c4737fde51712fa0dfeb7f9184c40a2aadd8a38c0660740352c7a32a0db50aad2214de9493e WHIRLPOOL ffbf9c2527825043f8961aeafb0e46099373e840a004b5a48ad7a2702f9b878eece28d26bcf2b1f2cbf1065ab35fd1c72b153d7b644ec64676e70e5c40507afc

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MY_PV="${PV/_/+}"
MY_P="${PN}-${PV/_/-}"
DESCRIPTION="A composable build system for OCaml"
HOMEPAGE="https://github.com/janestreet/jbuilder"
SRC_URI="https://github.com/janestreet/jbuilder/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-lang/ocaml:="
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/opam
"
OPAMSWITCH="system"
S="${WORKDIR}/${MY_P}"
OPAMROOT="${D}"
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}

View File

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