From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1804E1388C1 for ; Fri, 4 Mar 2016 11:32:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE635E07A0; Fri, 4 Mar 2016 11:32:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4436DE07A0 for ; Fri, 4 Mar 2016 11:32:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 610EC340CD1 for ; Fri, 4 Mar 2016 11:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E5AD1AE8 for ; Fri, 4 Mar 2016 11:32:43 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1457091154.327eb3d7ca5f396d41c283e867b8f7b198d9ae84.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/menhir/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/menhir/Manifest dev-ml/menhir/menhir-20160303.ebuild X-VCS-Directories: dev-ml/menhir/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 327eb3d7ca5f396d41c283e867b8f7b198d9ae84 X-VCS-Branch: master Date: Fri, 4 Mar 2016 11:32:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 27ad5686-0bd2-43e3-887c-a0f68c4a4523 X-Archives-Hash: 55ec9b494e0616316cdaa89f3024fea8 commit: 327eb3d7ca5f396d41c283e867b8f7b198d9ae84 Author: Alexis Ballier gentoo org> AuthorDate: Fri Mar 4 11:32:28 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Mar 4 11:32:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=327eb3d7 dev-ml/menhir: bump to 20160303 Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier gentoo.org> dev-ml/menhir/Manifest | 1 + dev-ml/menhir/menhir-20160303.ebuild | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ml/menhir/Manifest b/dev-ml/menhir/Manifest index 424c6c3..5980dcb 100644 --- a/dev-ml/menhir/Manifest +++ b/dev-ml/menhir/Manifest @@ -1 +1,2 @@ DIST menhir-20151112.tar.gz 727051 SHA256 06616e300ed2e5f4f2c74c58873fcd4b5f8f033b4f375f201049dafe4cd20e3a SHA512 121a932a0918f8fcc08dd86a758a7f791c4b527ef110cdbd33356d3317820ec849e6d33b23b60c948a9ff995e3ca858581adbaf2b5622c7ff6e99ae83ce8cf7d WHIRLPOOL d1ce225fa23d4834b67d63c6ec1b90fdfd7dd34ce1ef74c76dfaf82d797345ac48a695290724cd359d0844524f7a165ef2bd2a0ade0ef3de08f0cab653a74759 +DIST menhir-20160303.tar.gz 750200 SHA256 c330934ff449e7af101df0f8a15df29712465a185de265fadab30f4402eaa7e0 SHA512 9d5dbdf863f8e3157933a79690835d98f806e8110d3fcfe2b6e4137522fe8a5d063d058e4956ba30ed71a3ac5b2a82020f598799c67c4b692e4712e15b7f290c WHIRLPOOL b9da5f330c36521bd7abb6ec9a9f6aa164aff764b6e8b2296ef70bddb8b3019d92f2466b9f28aaa3cdfb3216decbbf165c6cf3fdca0f22dd7010d685bf877779 diff --git a/dev-ml/menhir/menhir-20160303.ebuild b/dev-ml/menhir/menhir-20160303.ebuild new file mode 100644 index 0000000..497e91f --- /dev/null +++ b/dev-ml/menhir/menhir-20160303.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 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 +}