summaryrefslogtreecommitdiff
path: root/dev-ml/extlib
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/extlib')
-rw-r--r--dev-ml/extlib/Manifest2
-rw-r--r--dev-ml/extlib/extlib-1.7.6.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest
index 703db7fc5672..500a02b68ab4 100644
--- a/dev-ml/extlib/Manifest
+++ b/dev-ml/extlib/Manifest
@@ -1,6 +1,8 @@
AUX ocaml405.patch 1539 BLAKE2B d61c8398986a66664810684870351856ca94318a82d07194908c570aefc9b2b3196b95f651717b058e95b853e1862c3a27218afa71a809f766b908cde3e9cece SHA512 664c9b840b77d08095e03dbd398f6af3118237fbffe73499bc2b0ee0dc8e40311337e65f3e0e95b2f87dddb9e75b18d27d2b712b314f725d97fd537f2ca23e52
DIST extlib-1.7.1.tar.gz 85397 BLAKE2B f2e924f651cc43ca29914c95400a26bfd062ecb4e7379d169533d394497215906b56e8f57ba29358965f0b8c125c33dcb9a0a95c09488404fd348261d075457f SHA512 42ea1be22a57ab31e5857df0c4c0f98a07e1b5958b34181cd5ab7c83ded112c208315d22cd3dd178d53e75ca109a70cb47ae479e95be8c47ea2087b1a158dc4d
DIST extlib-1.7.2.tar.gz 85934 BLAKE2B fab7f5f99be414a83f46144bc8f2f54aeb545ef9041b62f227f9dafd267a3f8608b94388ffc39903b069ec7d481b4da8a6a2e9aa289c68263613cf64aa6a45e0 SHA512 d9f34f5bbd5e94a8dccc5bdbc1ec0e5015608675469c4f513461fa587a5eb7e1398542388fd885d7656591ca85ce30c0e2a9ee26b9722a9dd65189aac35d64ed
+DIST extlib-1.7.6.tar.gz 88068 BLAKE2B 32376c09728ec7e7d762888ad706641b94bcc976f2e1f42f246ba79fe862b60df7ff924e1e22e89333d8f2e1d999deb71eee481c3c5919aa5d1e02731f64f323 SHA512 3065e2474fb0e480ed076aa1156584a4a6c839cd5d9e59f341e41113abb1736241354aa7ee7cb492967698bc392969522fd5bf30d1ad7f94754c4e10f376afa8
EBUILD extlib-1.7.1.ebuild 891 BLAKE2B d6f027a141b65333b975fe0b07a2f91d93568f888e8d9d3c7017c372abf716458ba85e48be93b270a000579ac2413f10ed56be9b8a72b7a346d05f69f8118f05 SHA512 b349d8d19e5f8a4ea4370ea9301f44e292a28dcbe8426e3d068042e22c5d643c161c5b4131ce1ed66de155a681c9c99068dccbb569d710e8c0ffb1ef36ce0cba
EBUILD extlib-1.7.2.ebuild 840 BLAKE2B 86d4c868a5a7a24a47849746b70ea15f21a8d69fb9b7ec82ae87217ccac760a04de02317132729ee0bdaa9ed8ad42ef0a11a1bb735afb82ae76cad11cc21c7b4 SHA512 c50cf98e44d44fe48f0c67ed398811cca2cbc0b2d94edf474c2d7d5bed5918263cb562df305b8aa31d501dc6e97417bc7acd4231e31bcefb7463b09161617211
+EBUILD extlib-1.7.6.ebuild 845 BLAKE2B 4aef45104c303847c8c267f65bccd338569e5137522bd46550028cfe6632a1396bae0ca358a7c7891e9d2599aa7e977318ec797dae64097caf35b55829433d8f SHA512 9c9e1945f39527e7dabc90b58f87f0d27e097b867668923acbc08507ceeeeccbe6efe86e59ad7842f89509090e1f1c587fa8b4855fae8275287d4b46474f7998
MISC metadata.xml 307 BLAKE2B dff1518edb8ae0815b4d3e72f1d577777025cd137106f5306162ef360e6eca62e264c96ce45a33839e3d44c7a560dd28c6b0b0e48ff22599ce1820a6d4dffd70 SHA512 55cc867ee131089f2f781119f1f9cccd0999f3e86ffb84b694db20a885a26ec1ee85861768ac616c4b7668d74fe667aa1bad855004bbe5951a1fc8c9cb3943ab
diff --git a/dev-ml/extlib/extlib-1.7.6.ebuild b/dev-ml/extlib/extlib-1.7.6.ebuild
new file mode 100644
index 000000000000..54e4c815cc39
--- /dev/null
+++ b/dev-ml/extlib/extlib-1.7.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit findlib
+
+DESCRIPTION="Standard library extensions for O'Caml"
+HOMEPAGE="https://github.com/ygrek/ocaml-extlib"
+SRC_URI="https://github.com/ygrek/ocaml-extlib/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc +ocamlopt"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}
+ dev-ml/cppo"
+
+S="${WORKDIR}/ocaml-${P}"
+
+src_compile() {
+ cd src || die
+ emake -j1 all
+ if use ocamlopt; then
+ emake opt cmxs
+ fi
+
+ if use doc; then
+ emake doc
+ fi
+}
+
+src_test() {
+ emake -j1 test
+}
+
+src_install () {
+ findlib_src_install
+
+ # install documentation
+ dodoc README.md
+
+ if use doc; then
+ dodoc -r src/doc/
+ fi
+}