diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-10-31 13:55:40 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-11-04 10:37:08 +0100 |
commit | 87429660f89d0b7e4698d72d8a0c131b6ac2f13b (patch) | |
tree | 71e70d67339d48cae1993d7fa2f52192ea8604ea /dev-ml/labltk | |
parent | profiles/package.mask: mask latest lablgtk/labltk for ocaml 4.06 (diff) | |
download | gentoo-87429660f89d0b7e4698d72d8a0c131b6ac2f13b.tar.gz gentoo-87429660f89d0b7e4698d72d8a0c131b6ac2f13b.tar.bz2 gentoo-87429660f89d0b7e4698d72d8a0c131b6ac2f13b.zip |
dev-ml/labltk: bump to 8.06.4
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-ml/labltk')
-rw-r--r-- | dev-ml/labltk/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/labltk/labltk-8.06.4.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest index f6a7507c6669..f9dc334adefe 100644 --- a/dev-ml/labltk/Manifest +++ b/dev-ml/labltk/Manifest @@ -1,2 +1,3 @@ DIST labltk-8.06.2.tar.gz 369508 SHA256 b32ea0465ec2fff89ebf5219845656f8334f61857e01ea3d59b3ab31749227dd SHA512 d9342d49ba8769edd7a4ed051844f6ae5d3e62a7c2c76e895bfd1162d0433c4ea54f2314b29b708551fba63daec1123553b56f0abb6412807ab00d7bb40b73d6 WHIRLPOOL 4300efb9bc6499901f7b984bb10230fdea0084d6346f5f8acc832eb054f44e52c00425994196721a966caabc917a93210a20b8bea25eefde08b4288f58a04b21 DIST labltk-8.06.3.tar.gz 369924 SHA256 b6b7076f6a2a7b2f63095013cb4e37a1f2a6eb3d4abb57dbb1b8cff1ae4c6ae6 SHA512 c2002d519c1fcfdd2b13ae6d5836880273dac2660f07f6ee0e7bb932e3fec6f5cc959202efdf712758a17d24dbe50c3f6697c7b125e3123fa8153130d7ece979 WHIRLPOOL 5fb97fba547a99655a2ecce3014f4ef9ef9e57ae5f9db531bb166c066210738aba48c5c79e6900e6559bd40ef11c123dbd8fc9ccdbf056ce813e7b79124c492a +DIST labltk-8.06.4.tar.gz 370079 SHA256 3132dc8f3748a121d094e21b8a8a84322c13882ed36a3d141f2965f23ff87948 SHA512 5221d2378f73cbcc2a4abd003023c01c8f0e1a919029ddb06069db30284b0bdef12e03b66b9c7c694c7a2128b060f2f2a5a34e4f3b8eed1060a0880a2e429644 WHIRLPOOL 23226b6dbd79f7a70123a6377a7f4270e08bd1f9c9997bda02d8a4bf4bec1910f9a0ec42cbecb0e9dedffc7359b5d251bdce0632b6d4f40056cce9029de82a69 diff --git a/dev-ml/labltk/labltk-8.06.4.ebuild b/dev-ml/labltk/labltk-8.06.4.ebuild new file mode 100644 index 000000000000..e0e827145b8b --- /dev/null +++ b/dev-ml/labltk/labltk-8.06.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/1727/${P}.tar.gz" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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.06:=[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 +} |