forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.3.0
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST typerep-113.24.00.tar.gz 71153 SHA256 838906c155d682644b3e6b55fad480f7ac93c03eb51a1d126665b4f2aa830e8b SHA512 3126d89cdfa8f052a2af3937fd9a1d205f18b26b761094a71518329b07f443da06f2db9fc79a22da621f5b2af91a352eda3119b73c3fd0fe80bf882da952d796 WHIRLPOOL 01a8864a6e66dcc21fe5d79156a298a7b51c99e0d6a08b48256f904baaa9b2bae6370e267d95f282922b455bbdfe3d72cdce802cb78515f42b46f264918e34db | ||
DIST typerep-113.33.03.tar.gz 69967 SHA256 dea99f5248af97d46550e439d5715ccc79807b04c481ae494b8a0814eb2a3bad SHA512 656db4530a1a24ac5c493baaa3cfa4ff453a63b060f5c7b7c463f4c2cd26ad70cd2992c1973fbd0241992b51b8c071c65c18eed78f7a37c162ecda21b29003d0 WHIRLPOOL ace20f51f8530b20662eae292eb9af01bf8b51db5cb78483dc391be8c415012690a61b15b3363bea38683c87f0da49aae391d6896f895310fc7edc507694d664 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
inherit oasis | ||
|
||
DESCRIPTION="Library for creating runtime representation of OCaml types" | ||
HOMEPAGE="http://www.janestreet.com/ocaml" | ||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
DEPEND=" | ||
>=dev-ml/type-conv-111.13:= | ||
dev-ml/camlp4:=" | ||
|
||
RDEPEND="${DEPEND}" | ||
DEPEND="${DEPEND} dev-ml/opam dev-ml/js-build-tools" | ||
|
||
src_configure() { | ||
emake setup.exe | ||
OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure | ||
} | ||
|
||
src_compile() { | ||
emake | ||
} | ||
|
||
src_install() { | ||
opam-installer -i \ | ||
--prefix="${ED}/usr" \ | ||
--libdir="${D}/$(ocamlc -where)" \ | ||
--docdir="${ED}/usr/share/doc/${PF}" \ | ||
${PN}.install || die | ||
dodoc CHANGES.md | ||
} |