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.27 Signed-off-by: Alexis Ballier <[email protected]>
- Loading branch information
Showing
2 changed files
with
60 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,2 +1,3 @@ | ||
DIST async-112.35.00.tar.gz 88263 SHA256 95228894bba807f1c3537530b8008d9c91a58708936d1f5c2101561b16125d85 SHA512 585585eee879d5f2f67ca2dbac520bc417deed2f867a870fa8d2d05da943b269f440983f983353f45c408998c8b5535c5a3b81ed0035d673bd656c416f96bf0b WHIRLPOOL 9dc8f92f65431b25fc7e322be2be4cb85473b55ec4ca8e2b5ee5f7b1dd0d4e6050cc78fe8017ff351b5bfb849f3d686e9fdd4c277ffe9c2adfbc90972fdf9aab | ||
DIST async-113.00.00.tar.gz 90226 SHA256 c8ada3aebff8faf0dce069043cca2bcd3c73b71024348c6d4082742c35bb3c90 SHA512 915752898c3ab14c89e01a89d77c5845a4774347b5efa54e62125cea95a8b59873c5f03833d63b6677d31c19609b676ce056ed126a0f747234dde166350a3456 WHIRLPOOL 482fe4b73379829be1b0662322f691a082dd5b83f78da717e7c62f12d080aaf6c34d7f0997ab97b701627280620dcc0ae6698871ea949c7d6ca48bb0a81b5f1f | ||
DIST async-113.24.00.tar.gz 65283 SHA256 cb4624ecced67e5d77e0e651650bf6aa5bb82c76f52ba94cf5454cc239671122 SHA512 ba9d3a8ec993c558ec9dd7e0b17a261a0098c7d752fec076729b295e6bc43f4496cf97ef1bd8f3b63d4412d6e972b2831cb8a03e75c513a751b68b82633d6240 WHIRLPOOL 33a5d344f2d2923d5dfae8d3783118b06064a4e84f3366c66ccf96076635c747be648bd0e17dea596d5b6e1e05efa29ca212ff10c3fef1a7c72ff4c809fe1f6d |
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,59 @@ | ||
# 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/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 | ||
} |