summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-04-30 15:23:56 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-04-30 16:18:10 +0200
commit9d232f45a95831f944a2f7f9615a68cb8f420e8e (patch)
tree2f5120f99e87c9a622584f6e35f79397d8ff8d43 /dev-ml/labltk
parentprofiles/package.mask: mask latest dev-ml/labltk with ocaml 4.03 (diff)
downloadgentoo-9d232f45a95831f944a2f7f9615a68cb8f420e8e.tar.gz
gentoo-9d232f45a95831f944a2f7f9615a68cb8f420e8e.tar.bz2
gentoo-9d232f45a95831f944a2f7f9615a68cb8f420e8e.zip
dev-ml/labltk: bump to 8.06.1
Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/labltk')
-rw-r--r--dev-ml/labltk/Manifest1
-rw-r--r--dev-ml/labltk/labltk-8.06.1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest
index 1dc5c02196ec..09a0f4f2fd9a 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 000000000000..a5ef9d6e1888
--- /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
+}