dev-ml/ocamlbuild: bump to 0.9.3
authorAlexis Ballier <aballier@gentoo.org>
Fri, 7 Oct 2016 11:31:54 +0000 (13:31 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 7 Oct 2016 11:31:54 +0000 (13:31 +0200)
Package-Manager: portage-2.3.1

dev-ml/ocamlbuild/Manifest
dev-ml/ocamlbuild/ocamlbuild-0.9.3.ebuild [new file with mode: 0644]

index ad244e5c29b6fbe20bf7bfd912d2b1540711e301..57bd608c059c837384139b794b424020de78034f 100644 (file)
@@ -1 +1,2 @@
 DIST ocamlbuild-0.9.2.tar.gz 163014 SHA256 257a3961da1aa47deb3de8da238ebe1daf13a73efef2228f97a064a90f91c6bc SHA512 6f6fa2ca0030256b61a9f93275f26327a032594a1ddd288e1eb9f4c41dfc139e4cdb6cd66ae8e383dd2f8aabb435181abfbf6b4aa0892ef6fa420c29e33b391a WHIRLPOOL 4b1285a3177787c9d4d1e4581dec4079a1144568512c8871b2ed9436bea941c9447130af616c418d7c18157f0818de26f6344635c7e63e4ec13acaa5229cf77a
+DIST ocamlbuild-0.9.3.tar.gz 191583 SHA256 32e4824906888c61244909eab0d2c22d31f18fc9579873a070a4cf7947c2c0a9 SHA512 49ab3a13d48f8f554c85ebc8ce9cbc5a5e63112c2d50215a6f4be78cc21c6e93bd5d657ea45584cfbfa00d182d99adad0fbb706e8121b71ea3ecf4830fd947dd WHIRLPOOL 50dcc7146ea0cc567c955d01fc4d5fad36d056c8b99f74b5ee3cbc69d9a68a37c4448b3215430a5f39272375ade3917b168778e36f5d2e9308e41cc6b7afeb33
diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.9.3.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.9.3.ebuild
new file mode 100644 (file)
index 0000000..7fe9092
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="OCamlbuild"
+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
+}