summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-11-15 10:16:59 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-11-15 10:36:02 +0100
commitaa84b8dd6f5a4877ac08470029424a634c97e287 (patch)
tree49a3cdbe9ef1964354049eaa188db67cc64b197b /dev-ml/extlib
parentdev-ml/ocaml-extunix: bump to 0.1.4 (diff)
downloadgentoo-aa84b8dd6f5a4877ac08470029424a634c97e287.tar.gz
gentoo-aa84b8dd6f5a4877ac08470029424a634c97e287.tar.bz2
gentoo-aa84b8dd6f5a4877ac08470029424a634c97e287.zip
dev-ml/extlib: bump to 1.7.1
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-ml/extlib')
-rw-r--r--dev-ml/extlib/Manifest1
-rw-r--r--dev-ml/extlib/extlib-1.7.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest
index 59e64dc981d6..4b68e66c0389 100644
--- a/dev-ml/extlib/Manifest
+++ b/dev-ml/extlib/Manifest
@@ -1,3 +1,4 @@
DIST extlib-1.5.4.tar.gz 71003 SHA256 df142ba5a04ccbd4b239a124bd0f634989781b4da63e517c05a036fd419cd9cd SHA512 f70ea54c50499dd8be47b1ee001119a6b6b3c8b29995a2bfb93181dc86790727122d330e67147d00d1c8aff02c263dc1ea954ac2f2ad34f76f5e45f5779c2ea7 WHIRLPOOL 499291050623f27e001ef92f9eea94bdaf1abe5fbd91c6bcad445e747e56f670c3250140c24268b08227dace6da99745407b02cbb7f877687b912dc5d85005e6
DIST extlib-1.6.1.tar.gz 72780 SHA256 88d4b3638cb4da4e04d81ba157e7235e744373c5784cf4b906570d07b890aeca SHA512 9473f474bee99248bdc5e3c56741a191a8f0b89dbf750a4d9e92692b7871c997c584a2dc7e57f55b36b5ddcaf7a11d45b490b117ac15806e35813b82b696f541 WHIRLPOOL 0dc27bad6223de1a1d75684f9caba8708e6c6a80f046c4604fe4bd9da5f860b17be180e3a8d0cdc817e1d99fd6c9feec62a2696b5d78e5706e89ea02460d2d40
DIST extlib-1.7.0.tar.gz 83327 SHA256 3c9fd159a4ec401559905f96e578317a4933452ced9a7f3a4f89f9c7130d9a63 SHA512 3f268e22f7f415e81bbc07c28561fc067ca87748fcdcb6515691d1270858f452ec2ba0eb7b80ca29f06b40f01c1e89a6b71380c7d9de37c60d2bb86093cb8be2 WHIRLPOOL e993986e09a39844b828531e3381954582323c6806ddd48b39c56f511e27a9b6d5f3f9605e02b5dc0698041cd909d4450e28780303ca57884a78eebbd5c37f6d
+DIST extlib-1.7.1.tar.gz 85397 SHA256 872a492be08bb99ddac7512ec190625718359458b79cfc710f40d5a967f628eb SHA512 42ea1be22a57ab31e5857df0c4c0f98a07e1b5958b34181cd5ab7c83ded112c208315d22cd3dd178d53e75ca109a70cb47ae479e95be8c47ea2087b1a158dc4d WHIRLPOOL 70be2855559fdf217ffb392ad47a2b0d3ec22467a5fcfe48158b85b64f64051cf43c8ae585949ccacdc7f6e257b26523fd91942bffd5c4b28a73a5c4566145fc
diff --git a/dev-ml/extlib/extlib-1.7.1.ebuild b/dev-ml/extlib/extlib-1.7.1.ebuild
new file mode 100644
index 000000000000..fcd84af44e02
--- /dev/null
+++ b/dev-ml/extlib/extlib-1.7.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+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"
+DEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ dev-ml/cppo:=
+"
+RDEPEND="${DEPEND}"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc +ocamlopt"
+S="${WORKDIR}/ocaml-${P}"
+
+src_compile() {
+ cd src
+ 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
+ dohtml src/doc/*
+ fi
+}