mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ml/labltk: bump to 8.06.1
Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
44
dev-ml/labltk/labltk-8.06.1.ebuild
Normal file
44
dev-ml/labltk/labltk-8.06.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user