mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/jbuilder: Initial import; ebuild by me
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
1
dev-ml/jbuilder/Manifest
Normal file
1
dev-ml/jbuilder/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST jbuilder-1.0-beta5.tar.gz 198050 SHA256 c246311e6b05569c04db4d16f065b2b18f8f2d9a58a5c43445b65fa87f1092c4 SHA512 b972171ca237e6f8674b6165cefb1c35158d871922fc6fed9c226c4737fde51712fa0dfeb7f9184c40a2aadd8a38c0660740352c7a32a0db50aad2214de9493e WHIRLPOOL ffbf9c2527825043f8961aeafb0e46099373e840a004b5a48ad7a2702f9b878eece28d26bcf2b1f2cbf1065ab35fd1c72b153d7b644ec64676e70e5c40507afc
|
||||
35
dev-ml/jbuilder/jbuilder-1.0_beta5.ebuild
Normal file
35
dev-ml/jbuilder/jbuilder-1.0_beta5.ebuild
Normal 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
|
||||
}
|
||||
8
dev-ml/jbuilder/metadata.xml
Normal file
8
dev-ml/jbuilder/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user