Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlbuild/
Date: Thu, 09 Mar 2017 09:34:40
Message-Id: 1489050501.2f59c7835fe3816b58fe2a6120c1f62cc93c16cd.aballier@gentoo
1 commit: 2f59c7835fe3816b58fe2a6120c1f62cc93c16cd
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 9 09:08:21 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 9 09:08:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f59c783
7
8 dev-ml/ocamlbuild: Bump to 0.11.0
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-ml/ocamlbuild/Manifest | 1 +
13 dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild | 33 ++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-ml/ocamlbuild/Manifest b/dev-ml/ocamlbuild/Manifest
17 index eb1d547d649..7abf6bd9d3a 100644
18 --- a/dev-ml/ocamlbuild/Manifest
19 +++ b/dev-ml/ocamlbuild/Manifest
20 @@ -1 +1,2 @@
21 DIST ocamlbuild-0.10.1.tar.gz 193263 SHA256 2603be3709634b6191dd00627213cff56f15200f2d0a24e0af58a18a0580b71e SHA512 6d74bdce7fe147bf1a5fd570b569925b36b5f443c7251d1c13a0525e3086417b393a768722bf7d4b23a7e3178b0b3c2511499725c5a755d69783b8d555663e3b WHIRLPOOL 7ab4d455260af64066abd1922d8c5631df6a9541abf3950c919818875346a1f7bc21e5d08e9a93bacb3559373179663daddc89532f79391124972e6bc986f84d
22 +DIST ocamlbuild-0.11.0.tar.gz 195297 SHA256 1717edc841c9b98072e410f1b0bc8b84444b4b35ed3b4949ce2bec17c60103ee SHA512 14bc44cc63b6c99e711658a1145247bad8263632fbb4550238cef15e226a76b83e51b83575a7a96f16b96ec321dedd0ef23f36166c354838aec1922f58179efd WHIRLPOOL 861bbd807faffc18ab85585777ccb72d10faa0e531879421890751a867ce56af286fdb78b7b48d3c41d26605262d5908ae709aa6f591a2de94c3b5a697ba0929
23
24 diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
25 new file mode 100644
26 index 00000000000..f6a3478c922
27 --- /dev/null
28 +++ b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +DESCRIPTION="Generic build tool with built-in rules for building OCaml library and programs"
36 +HOMEPAGE="https://github.com/ocaml/ocamlbuild"
37 +SRC_URI="https://github.com/ocaml/ocamlbuild/archive/${PV}.tar.gz -> ${P}.tar.gz"
38 +
39 +LICENSE="LGPL-2.1-with-linking-exception"
40 +SLOT="0/${PV}"
41 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
42 +IUSE="+ocamlopt"
43 +
44 +DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]"
45 +RDEPEND="${DEPEND}
46 + !<dev-ml/findlib-1.6.1-r1
47 +"
48 +
49 +src_configure() {
50 + emake -f configure.make Makefile.config \
51 + PREFIX="${EPREFIX}/usr" \
52 + BINDIR="${EPREFIX}/usr/bin" \
53 + LIBDIR="$(ocamlc -where)" \
54 + OCAML_NATIVE=$(usex ocamlopt true false) \
55 + OCAML_NATIVE_TOOLS=$(usex ocamlopt true false) \
56 + NATDYNLINK=$(usex ocamlopt true false)
57 +}
58 +
59 +src_install() {
60 + emake CHECK_IF_PREINSTALLED=false DESTDIR="${D}" install
61 + dodoc Changes
62 +}