diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-11-29 15:54:37 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-11-29 16:05:23 +0100 |
commit | fb98e369e7c2021dedc702df37475b29cc5ba9f7 (patch) | |
tree | 018aaffba0aaccda9bb1986732dd66df8189ea2f /dev-ml/labltk | |
parent | dev-ml/camlp4: bump to 4.04_p1 (diff) | |
download | gentoo-fb98e369e7c2021dedc702df37475b29cc5ba9f7.tar.gz gentoo-fb98e369e7c2021dedc702df37475b29cc5ba9f7.tar.bz2 gentoo-fb98e369e7c2021dedc702df37475b29cc5ba9f7.zip |
dev-ml/labltk: bump to 8.06.2
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-ml/labltk')
-rw-r--r-- | dev-ml/labltk/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/labltk/labltk-8.06.2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest index 09a0f4f2fd9a..f76fe8a87090 100644 --- a/dev-ml/labltk/Manifest +++ b/dev-ml/labltk/Manifest @@ -1,2 +1,3 @@ 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 +DIST labltk-8.06.2.tar.gz 369508 SHA256 b32ea0465ec2fff89ebf5219845656f8334f61857e01ea3d59b3ab31749227dd SHA512 d9342d49ba8769edd7a4ed051844f6ae5d3e62a7c2c76e895bfd1162d0433c4ea54f2314b29b708551fba63daec1123553b56f0abb6412807ab00d7bb40b73d6 WHIRLPOOL 4300efb9bc6499901f7b984bb10230fdea0084d6346f5f8acc832eb054f44e52c00425994196721a966caabc917a93210a20b8bea25eefde08b4288f58a04b21 diff --git a/dev-ml/labltk/labltk-8.06.2.ebuild b/dev-ml/labltk/labltk-8.06.2.ebuild new file mode 100644 index 000000000000..fdac48621448 --- /dev/null +++ b/dev-ml/labltk/labltk-8.06.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 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/1628/${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.04:=[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 +} |