summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-01-30 13:42:16 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-01-30 23:21:58 +0100
commit72277e20acdfda36bb603bb1caee1e1eaefac18a (patch)
tree7be7667b587c87bb0b7a9d990d67f5a3787bf248 /dev-ml/ppx_driver
parentdev-ml/js-build-tools: add missing dep on ocamlbuild (diff)
downloadgentoo-72277e20acdfda36bb603bb1caee1e1eaefac18a.tar.gz
gentoo-72277e20acdfda36bb603bb1caee1e1eaefac18a.tar.bz2
gentoo-72277e20acdfda36bb603bb1caee1e1eaefac18a.zip
dev-ml/ppx_driver: bump to 113.33.04
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/ppx_driver')
-rw-r--r--dev-ml/ppx_driver/Manifest1
-rw-r--r--dev-ml/ppx_driver/ppx_driver-113.33.04.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/ppx_driver/Manifest b/dev-ml/ppx_driver/Manifest
index 6abb75cf0268..852ed693cf40 100644
--- a/dev-ml/ppx_driver/Manifest
+++ b/dev-ml/ppx_driver/Manifest
@@ -1 +1,2 @@
DIST ppx_driver-113.33.00.tar.gz 59174 SHA256 e58e86e0e5cc4c038fd7ac4eeefdbb6b9a26036b9df24ea5e1cbe163edefe61e SHA512 b3644c138b5f2c23c6e9f2f6084121b91ef67d4131a29a17ff629d21e0d33e7c313f3d1531e1d87b4073bb6f10142e612d61e450a0690cf27443b573bbb28399 WHIRLPOOL 46223d2c5cb558c4a218939973c202c0f20ae0797202ccfc75f78eb63edb16f9411d533d1e63fce3b3e614e443f0df07fec317426290292171a7b0faa719866d
+DIST ppx_driver-113.33.04.tar.gz 65968 SHA256 3a6affd73f477f0929191c60d1c4124a27e0494bd4eb0c4a19fd7756a827f4df SHA512 b119824ff50457bdc0bec4d1e7f4b57e8db6b34d4606d7d473328314616173c65bde0fa610d666d4a8ca7659a16f17c46acf9007206d78c63679b8ccbe41e514 WHIRLPOOL 249e5a47bb914b7c4c614c3ba4b2b589ea2989795f6ce867e68f61451fbc2cdee7cb42eb253b293ccc00f7425480f820df71c6314ed1b653a3814f3dda87c54c
diff --git a/dev-ml/ppx_driver/ppx_driver-113.33.04.ebuild b/dev-ml/ppx_driver/ppx_driver-113.33.04.ebuild
new file mode 100644
index 000000000000..dbcecb3f0dbd
--- /dev/null
+++ b/dev-ml/ppx_driver/ppx_driver-113.33.04.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis eutils
+
+DESCRIPTION="Feature-full driver for OCaml AST transformers"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-ml/ppx_tools:=
+ >=dev-ml/ppx_core-113.33.00:=
+ dev-ml/ocamlbuild:=[ocamlopt?]
+ dev-ml/ppx_optcomp:="
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} dev-ml/opam"
+
+src_configure() {
+ emake setup.exe
+ OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+ dodoc CHANGES.md
+}