From fbba40085f5d1591a67b49f5aa48b4071b7560f1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Jun 2023 21:52:51 +0100 Subject: gentoo auto-resync : 10:06:2023 - 21:52:51 --- dev-lang/haxe/haxe-4.2.5-r2.ebuild | 67 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 dev-lang/haxe/haxe-4.2.5-r2.ebuild (limited to 'dev-lang/haxe/haxe-4.2.5-r2.ebuild') diff --git a/dev-lang/haxe/haxe-4.2.5-r2.ebuild b/dev-lang/haxe/haxe-4.2.5-r2.ebuild new file mode 100644 index 000000000000..2d349a639ef7 --- /dev/null +++ b/dev-lang/haxe/haxe-4.2.5-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Multi-target universal programming language" +HOMEPAGE="https://haxe.org/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/HaxeFoundation/haxe.git" +else + # Haxe-debian already contains correct git modules + SRC_URI="https://github.com/HaxeFoundation/haxe-debian/archive/upstream/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}"/haxe-debian-upstream-${PV} +fi + +LICENSE="GPL-2+ MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt" +RESTRICT="strip" + +# NOTICE: Does not compile with >=dev-ml/luv-0.5.12, but it's fixed on master. +RDEPEND=" + >=dev-lang/ocaml-4:=[ocamlopt?] +