summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-05-24 09:55:46 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-05-24 09:55:46 +0200
commit93103d32ea78c65b4cb5aeee72beab050df8b9f3 (patch)
treed3f5ff0af521766f7d03cad4b0f45e0ede442ba2 /dev-ml
parentmedia-plugins/live: bump to 2016.05.20 (diff)
downloadgentoo-93103d32ea78c65b4cb5aeee72beab050df8b9f3.tar.gz
gentoo-93103d32ea78c65b4cb5aeee72beab050df8b9f3.tar.bz2
gentoo-93103d32ea78c65b4cb5aeee72beab050df8b9f3.zip
dev-ml/menhir: bump to 20160504
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/menhir/Manifest1
-rw-r--r--dev-ml/menhir/menhir-20160504.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ml/menhir/Manifest b/dev-ml/menhir/Manifest
index 5980dcba2fa9..4b145d3f000e 100644
--- a/dev-ml/menhir/Manifest
+++ b/dev-ml/menhir/Manifest
@@ -1,2 +1,3 @@
DIST menhir-20151112.tar.gz 727051 SHA256 06616e300ed2e5f4f2c74c58873fcd4b5f8f033b4f375f201049dafe4cd20e3a SHA512 121a932a0918f8fcc08dd86a758a7f791c4b527ef110cdbd33356d3317820ec849e6d33b23b60c948a9ff995e3ca858581adbaf2b5622c7ff6e99ae83ce8cf7d WHIRLPOOL d1ce225fa23d4834b67d63c6ec1b90fdfd7dd34ce1ef74c76dfaf82d797345ac48a695290724cd359d0844524f7a165ef2bd2a0ade0ef3de08f0cab653a74759
DIST menhir-20160303.tar.gz 750200 SHA256 c330934ff449e7af101df0f8a15df29712465a185de265fadab30f4402eaa7e0 SHA512 9d5dbdf863f8e3157933a79690835d98f806e8110d3fcfe2b6e4137522fe8a5d063d058e4956ba30ed71a3ac5b2a82020f598799c67c4b692e4712e15b7f290c WHIRLPOOL b9da5f330c36521bd7abb6ec9a9f6aa164aff764b6e8b2296ef70bddb8b3019d92f2466b9f28aaa3cdfb3216decbbf165c6cf3fdca0f22dd7010d685bf877779
+DIST menhir-20160504.tar.gz 729379 SHA256 5fcd7cd38eef7ec78eee12cfaa9d22cbec6ba85f8d42e45b86215a89a496b20d SHA512 6818e5e60e7c369d3d50cf32d2ff639b411be9064a691a789f776f7e74da8d0c3e55dcdaa5d2ae0ac7b80f8678e9d8eb269e8163ca3f13417f3e1e7183e5acbf WHIRLPOOL a242a8a5656cb0829060c3a7c5e31651cce54ffbfa51dc764c0f6ddc7c3c757c1de018a76467aab0a200ffa8f0ffc35dec17f773749ea6ebd458feb74bbb1b88
diff --git a/dev-ml/menhir/menhir-20160504.ebuild b/dev-ml/menhir/menhir-20160504.ebuild
new file mode 100644
index 000000000000..bc466320f8fa
--- /dev/null
+++ b/dev-ml/menhir/menhir-20160504.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="LR(1) parser generator for the OCaml language"
+HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
+SRC_URI="http://gallium.inria.fr/~fpottier/menhir/${P}.tar.gz"
+
+LICENSE="QPL-1.0 LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples +ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ dev-ml/ocamlbuild"
+
+src_configure() {
+ if ! use ocamlopt ; then
+ export TARGET=byte
+ fi
+}
+
+src_compile() {
+ emake PREFIX="${EPREFIX}"/usr -j1
+}
+
+src_install() {
+ findlib_src_preinst
+ emake PREFIX="${ED}"/usr docdir="${ED}"/usr/share/doc/"${PF}" $(use examples || echo "DOCS=manual.pdf") install
+ use examples && docompress -x /usr/share/doc/${PF}/demos
+ dodoc AUTHORS CHANGES
+}