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.2.28 Signed-off-by: Alexis Ballier <[email protected]>
- Loading branch information
Showing
2 changed files
with
61 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 async-113.24.00.tar.gz 65283 SHA256 cb4624ecced67e5d77e0e651650bf6aa5bb82c76f52ba94cf5454cc239671122 SHA512 ba9d3a8ec993c558ec9dd7e0b17a261a0098c7d752fec076729b295e6bc43f4496cf97ef1bd8f3b63d4412d6e972b2831cb8a03e75c513a751b68b82633d6240 WHIRLPOOL 33a5d344f2d2923d5dfae8d3783118b06064a4e84f3366c66ccf96076635c747be648bd0e17dea596d5b6e1e05efa29ca212ff10c3fef1a7c72ff4c809fe1f6d | ||
DIST async-113.33.00.tar.gz 65537 SHA256 ddb5c8379ad82888d218c7ac44278f64ac1012c8dc8349af45c40fe7df1d506b SHA512 7f2b9a2549cdd8fe48100135782e8e8cc42f25b83fa4c6bc730f3799041c1cce91d442ab357a7d34a7288484e694306a70daed18e3f202e1a5f842a908a8ff2b WHIRLPOOL 241c8da5db8df68dfea056b551c407b4630f7bc14e12bbdfc1142eec49d40e65b5040dd6ed64526400a0f1fab160e9f0aa0543bedb2626b6f6e24dbd5a2a6c8c |
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,60 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
OASIS_BUILD_DOCS=1 | ||
OASIS_BUILD_TESTS=1 | ||
|
||
inherit oasis | ||
|
||
DESCRIPTION="Jane Street Capital's asynchronous execution library" | ||
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="examples" | ||
|
||
RDEPEND=">=dev-lang/ocaml-4.02.0:= | ||
>=dev-ml/async_kernel-${PV}:= | ||
>=dev-ml/async_unix-${PV}:= | ||
>=dev-ml/async_extra-${PV}:= | ||
dev-ml/bin-prot:= | ||
dev-ml/core:= | ||
dev-ml/fieldslib:= | ||
dev-ml/ppx_assert:= | ||
dev-ml/ppx_bench:= | ||
dev-ml/ppx_driver:= | ||
dev-ml/ppx_expect:= | ||
dev-ml/ppx_inline_test:= | ||
dev-ml/ppx_jane:= | ||
dev-ml/sexplib:= | ||
dev-ml/typerep:= | ||
dev-ml/variantslib:= | ||
" | ||
DEPEND="${RDEPEND} dev-ml/opam" | ||
|
||
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 | ||
if use examples ; then | ||
dodoc -r examples | ||
docompress -x /usr/share/doc/${PF}/examples | ||
fi | ||
} |