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.26 Signed-off-by: Alexis Ballier <[email protected]>
- 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,3 +1,4 @@ | ||
DIST lwt-2.4.3.tar.gz 504000 SHA256 efee23937750290d6dee96eed6c0bbdb19817d5be6eefcba61ac5031fac10107 SHA512 725d50a096a43294d49ae2322fdc985c301ce6a8ff5c956925225d7977e787ccb446e36a9db5fdbb50f284b9f1a3a12a52d1aa44d4400feecb59f6f938ed00ad WHIRLPOOL c5999e950008902600b43bf39f174ed0bc2cb3f6dce983d885416969a3bb98170ec8b74c8f5829459c3c96d160e5b4c8491b7057e7efeac035a46c9846ff7764 | ||
DIST lwt-2.4.6.tar.gz 306510 SHA256 9f90c6b326e603865bae9a882301e35ee745d22e6b886b488a26dfa94ca69ff1 SHA512 8ba7cf74a228016f662523a14c083367e1d5eae43dbc208b8620fa867b44b99ea35644a9788fba3e3031e94fd0a852bdf5e85d250494fdbf6ddbe7959cb858e4 WHIRLPOOL d5fea0daf60e9adb213652d2cb4857bae81342c9b1e1e6492137e9683ffe3ac360e63623cfa8771b9406d2a2a8ec110681f8991399ee31028e9efd2b6f0a43eb | ||
DIST lwt-2.5.0.tar.gz 1278567 SHA256 37ae28a56bc5e112947ff84562b37fbd2263d54ecbb0b1e2076b2b775f546130 SHA512 a951f55ebd8440f15c1d60ab41cefe9afea12332f64e477f50537de231535814d704baea0ed167bee2f7e2c7ec8c128811d3d446cad2d6b8d46ab612a160ed40 WHIRLPOOL 661db9f59a8205c649309c95292aca80a7e9195f2ac8c4cb0dfca56689e7bae881eb1b4869f02d27a09d33b0aca5bf83f937a8e4389adefb3b9fab071779392d | ||
DIST lwt-2.5.1.tar.gz 1272834 SHA256 351ea57e30cdeeebb02ae3b12906ed391f947fd35d57148905828ee121ec29ec SHA512 648f08e13a5b13072ed44ec380cce226bbf2ac480ca6adcd170e5bfa789bf6a4e832af0748bb1bff0e45611fd8d1b14592ece4211fb78be5b03cbcd7c3cb3b7d WHIRLPOOL c89ff1cd278ca194e1edf11ee447466dfd90f1bae4c79967e296c73cecf6684f017f8873a9f8cd6c367e83d1acfbd65ccc021edc1a7efc01432207e171f8e9dd |
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-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
OASIS_BUILD_TESTS=1 | ||
# fails to build | ||
#OASIS_BUILD_DOCS=1 | ||
|
||
inherit oasis | ||
|
||
DESCRIPTION="Cooperative light-weight thread library for OCaml" | ||
SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
HOMEPAGE="http://ocsigen.org/lwt" | ||
|
||
IUSE="gtk +react +ssl" | ||
|
||
DEPEND="react? ( >=dev-ml/react-1.2:= ) | ||
dev-libs/libev | ||
ssl? ( >=dev-ml/ocaml-ssl-0.4.0:= ) | ||
gtk? ( dev-ml/lablgtk:= dev-libs/glib:2 ) | ||
|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )" | ||
|
||
RDEPEND="${DEPEND} | ||
!<www-servers/ocsigen-1.1" | ||
|
||
SLOT="0/${PV}" | ||
LICENSE="LGPL-2.1-with-linking-exception" | ||
KEYWORDS="~amd64 ~x86-fbsd" | ||
|
||
DOCS=( "CHANGES" "README.md" ) | ||
|
||
src_configure() { | ||
oasis_configure_opts="$(use_enable gtk glib) | ||
$(use_enable react) | ||
$(use_enable ssl) | ||
--enable-camlp4 | ||
--disable-ppx" \ | ||
oasis_src_configure | ||
} |