summaryrefslogtreecommitdiff
path: root/dev-ml/labltk/labltk-8.06.12.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-19 07:00:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-19 07:00:00 +0000
commitc5572b13d51970d6603acd131f27991cc1b66a79 (patch)
tree459c832fa5c0913b9ce0f85eed5e29922cc0425f /dev-ml/labltk/labltk-8.06.12.ebuild
parent6e476156e1a0d2f4aa53968c37835c3441301367 (diff)
gentoo auto-resync : 19:11:2022 - 07:00:00
Diffstat (limited to 'dev-ml/labltk/labltk-8.06.12.ebuild')
-rw-r--r--dev-ml/labltk/labltk-8.06.12.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-ml/labltk/labltk-8.06.12.ebuild b/dev-ml/labltk/labltk-8.06.12.ebuild
deleted file mode 100644
index 3042cc64e298..000000000000
--- a/dev-ml/labltk/labltk-8.06.12.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit findlib toolchain-funcs
-
-DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework"
-HOMEPAGE="https://garrigue.github.io/labltk/"
-SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="QPL-1.0 LGPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ocamlopt X"
-
-RDEPEND="dev-lang/tk:=
- >=dev-lang/ocaml-4.14:=[ocamlopt?,X(+)?]"
-DEPEND="${RDEPEND}
- dev-ml/findlib
-"
-
-PATCHES=(
- "${FILESDIR}/findlib.patch"
-)
-
-src_prepare() {
- sed -i \
- -e "s|ranlib|$(tc-getRANLIB)|" \
- frx/Makefile \
- || die
- default
-}
-
-src_configure() {
- ./configure --use-findlib --verbose $(usex X "--tk-x11" "--tk-no-x11") || die "configure failed!"
-}
-
-src_compile() {
- emake -j1 all
- 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
-}