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 0ECD3138206 for ; Sat, 30 Apr 2016 14:18:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4461A21C0AB; Sat, 30 Apr 2016 14:18:29 +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 E1E5221C0AB for ; Sat, 30 Apr 2016 14:18:27 +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 BF600340D5D for ; Sat, 30 Apr 2016 14:18:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6664A856 for ; Sat, 30 Apr 2016 14:18:22 +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: <1462025890.9d232f45a95831f944a2f7f9615a68cb8f420e8e.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/labltk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/labltk/Manifest dev-ml/labltk/labltk-8.06.1.ebuild X-VCS-Directories: dev-ml/labltk/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 9d232f45a95831f944a2f7f9615a68cb8f420e8e X-VCS-Branch: master Date: Sat, 30 Apr 2016 14:18:22 +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: 2fbbb6e9-aab8-4881-88bc-9aaa89727514 X-Archives-Hash: f61e3b924953a7ed14d820b99428b539 commit: 9d232f45a95831f944a2f7f9615a68cb8f420e8e Author: Alexis Ballier gentoo org> AuthorDate: Sat Apr 30 13:23:56 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Apr 30 14:18:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d232f45 dev-ml/labltk: bump to 8.06.1 Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier gentoo.org> dev-ml/labltk/Manifest | 1 + dev-ml/labltk/labltk-8.06.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest index 1dc5c02..09a0f4f 100644 --- a/dev-ml/labltk/Manifest +++ b/dev-ml/labltk/Manifest @@ -1 +1,2 @@ DIST labltk-8.06.0.tar.gz 368790 SHA256 71997dbd6c36e4eb064484dc73037d4bd10e465e180fead07a4b193d21af9764 SHA512 c005f8c177bca982a39bfcfd9d77640bedf7e4cc3a6690fc01fa2a8ebedcfb30ad3677501400ae2e0e276eb13fdd565319e23bb02dce84d78257ae7fbe545f47 WHIRLPOOL e231527f1403fbe9aa1102d0a6bc444df0ce5806e64ce8d1323100580767e823922db0713c0d3423f79ff2e82e162673486160953aaea4ff188b5ae666ea4445 +DIST labltk-8.06.1.tar.gz 369426 SHA256 d6ac4bb373d10342a1af045f28db34dcded50d92a6c6886ed45d1de050e63c8b SHA512 e41fc4f69e2e72302e8f1064ab71f753e379a51f78e3cb8b793eb6483fb35467764df7ef47f1169968525561b4da4f70942f6e7c798de79fd4ffebe1a4390d0c WHIRLPOOL d4ab8e6ca710cc1147f83652a9beb26c1a6c2f3ebc754d8c2b9b1aed132b34ec1e65d71bec1eb4e672305421220df74b237d3d4f25ee53ca17d7669843f21bb2 diff --git a/dev-ml/labltk/labltk-8.06.1.ebuild b/dev-ml/labltk/labltk-8.06.1.ebuild new file mode 100644 index 0000000..a5ef9d6 --- /dev/null +++ b/dev-ml/labltk/labltk-8.06.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit findlib eutils + +DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework" +HOMEPAGE="https://forge.ocamlcore.org/projects/labltk/" +SRC_URI="https://forge.ocamlcore.org/frs/download.php/1603/${P}.tar.gz" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="+ocamlopt X" + +RDEPEND=">=dev-lang/tk-8.0.3:= + >=dev-lang/ocaml-4.03:=[ocamlopt?,X?]" +DEPEND="${RDEPEND} + >=dev-ml/findlib-1.5.5-r1" + +src_prepare() { + epatch "${FILESDIR}/findlib.patch" +} + +src_configure() { + ./configure --use-findlib --verbose $(use X || echo "--tk-no-x11") || die "configure failed!" +} + +src_compile() { + emake -j1 + use ocamlopt && emake -j1 opt +} + +src_install() { + findlib_src_preinst + dodir /usr/bin + emake \ + INSTALLDIR="${D}$(ocamlc -where)/labltk" \ + INSTALLBINDIR="${ED}/usr/bin/" \ + install + dodoc Changes README.mlTk +}