commit:     2f59c7835fe3816b58fe2a6120c1f62cc93c16cd
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  9 09:08:21 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Mar  9 09:08:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f59c783

dev-ml/ocamlbuild: Bump to 0.11.0

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-ml/ocamlbuild/Manifest                 |  1 +
 dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild | 33 ++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-ml/ocamlbuild/Manifest b/dev-ml/ocamlbuild/Manifest
index eb1d547d649..7abf6bd9d3a 100644
--- a/dev-ml/ocamlbuild/Manifest
+++ b/dev-ml/ocamlbuild/Manifest
@@ -1 +1,2 @@
 DIST ocamlbuild-0.10.1.tar.gz 193263 SHA256 
2603be3709634b6191dd00627213cff56f15200f2d0a24e0af58a18a0580b71e SHA512 
6d74bdce7fe147bf1a5fd570b569925b36b5f443c7251d1c13a0525e3086417b393a768722bf7d4b23a7e3178b0b3c2511499725c5a755d69783b8d555663e3b
 WHIRLPOOL 
7ab4d455260af64066abd1922d8c5631df6a9541abf3950c919818875346a1f7bc21e5d08e9a93bacb3559373179663daddc89532f79391124972e6bc986f84d
+DIST ocamlbuild-0.11.0.tar.gz 195297 SHA256 
1717edc841c9b98072e410f1b0bc8b84444b4b35ed3b4949ce2bec17c60103ee SHA512 
14bc44cc63b6c99e711658a1145247bad8263632fbb4550238cef15e226a76b83e51b83575a7a96f16b96ec321dedd0ef23f36166c354838aec1922f58179efd
 WHIRLPOOL 
861bbd807faffc18ab85585777ccb72d10faa0e531879421890751a867ce56af286fdb78b7b48d3c41d26605262d5908ae709aa6f591a2de94c3b5a697ba0929

diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild 
b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
new file mode 100644
index 00000000000..f6a3478c922
--- /dev/null
+++ b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Generic build tool with built-in rules for building OCaml library 
and programs"
+HOMEPAGE="https://github.com/ocaml/ocamlbuild";
+SRC_URI="https://github.com/ocaml/ocamlbuild/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="+ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]"
+RDEPEND="${DEPEND}
+       !<dev-ml/findlib-1.6.1-r1
+"
+
+src_configure() {
+       emake -f configure.make Makefile.config \
+               PREFIX="${EPREFIX}/usr" \
+               BINDIR="${EPREFIX}/usr/bin" \
+               LIBDIR="$(ocamlc -where)" \
+               OCAML_NATIVE=$(usex ocamlopt true false) \
+               OCAML_NATIVE_TOOLS=$(usex ocamlopt true false) \
+               NATDYNLINK=$(usex ocamlopt true false)
+}
+
+src_install() {
+       emake CHECK_IF_PREINSTALLED=false DESTDIR="${D}" install
+       dodoc Changes
+}

Reply via email to