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
44 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 ocaml-cstruct-2.1.0.tar.gz 251162 SHA256 fab6525753af5f726810b321a97b8a0b226bf0318a3ed594e2ed93f2f293c9a1 SHA512 129650ec17d8c96d6e68fc6a814e2b44cecc6fc69dfd5327c48d842447caf172c36112ef4fe0fa85c7391172ba72e2f2d3c119f44075cf1240a89134830ec428 WHIRLPOOL 4daf175682710cc0b102858df5b66c8cc14caf0ab35d4d8430324ed65bcaab9d951f391bdb3c39c5b6edfca4fac50300f4c394a3adbae43269a31abf04955661 | ||
DIST ocaml-cstruct-2.2.0.tar.gz 251257 SHA256 9d605469131a8a704d123dbedff7dc7f68ccb7e28e76ddafda745017e58217e1 SHA512 4aee07f2e0c6490eef564eff194fc3a9563b1e6020b2903bed3c18b46c6698f7593ab0e6f893d3f0781510a4a2e8a6bdac379db497d469d7d34b94b2047dfed8 WHIRLPOOL 4a2dd17d739509e7afd4871f788292d1abba19fcdfa1cec4f8a6d4675e9eeef4f2de0d6256d965ed988c27255e495570f3326b9b144ea132f376e83c60b679e0 |
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,43 @@ | ||
# Copyright 1999-2016 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="Map OCaml arrays onto C-like structs" | ||
HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io" | ||
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="ISC" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
IUSE="async +lwt +ppx" | ||
|
||
RDEPEND=" | ||
async? ( dev-ml/async:= ) | ||
lwt? ( dev-ml/lwt:= ) | ||
ppx? ( dev-ml/ppx_tools:= ) | ||
>=dev-lang/ocaml-4.01:= | ||
dev-ml/ocplib-endian:= | ||
dev-ml/sexplib:= | ||
dev-ml/type-conv:= | ||
" | ||
DEPEND=" | ||
test? ( dev-ml/ounit ) | ||
${RDEPEND} | ||
" | ||
|
||
src_configure() { | ||
oasis_configure_opts=" | ||
$(use_enable lwt) | ||
$(use_enable async) | ||
$(use_enable ppx) | ||
--enable-unix | ||
" oasis_src_configure | ||
} | ||
|
||
DOCS=( CHANGES README.md TODO.md ) |