mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
dev-lang/haxe: drop old 4.3.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST haxe-4.3.5.tar.gz 8409453 BLAKE2B 5240d9dc215b9636927d2461c6250acc566c7e314850a2804af8a3d4ae8ca6f7ea2c53da5b5852b3714da102c07e58fdfcc36a3104f5fca0612b55cfcfd3e4be SHA512 df8c93542102b359946507ab3b5d33b69556c57a491b0196d2ab51733fcfc03482867550a6f11543aee0c50ce685dfc89220f5d828b982219defcfec3508447c
|
||||
DIST haxe-4.3.6.tar.gz 8409453 BLAKE2B 5240d9dc215b9636927d2461c6250acc566c7e314850a2804af8a3d4ae8ca6f7ea2c53da5b5852b3714da102c07e58fdfcc36a3104f5fca0612b55cfcfd3e4be SHA512 df8c93542102b359946507ab3b5d33b69556c57a491b0196d2ab51733fcfc03482867550a6f11543aee0c50ce685dfc89220f5d828b982219defcfec3508447c
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2024 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/
|
||||
https://github.com/HaxeFoundation/haxe/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/HaxeFoundation/haxe.git"
|
||||
else
|
||||
# Haxe-debian is a distribution variant that contains the required git modules.
|
||||
SRC_URI="https://github.com/HaxeFoundation/haxe-debian/archive/upstream/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/haxe-debian-upstream"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ MIT"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4:=[ocamlopt?]
|
||||
>=dev-ml/luv-0.5.12:=
|
||||
dev-ml/extlib:=
|
||||
dev-ml/ocaml-sha:=
|
||||
dev-ml/ptmap:=
|
||||
dev-ml/sedlex:=
|
||||
dev-ml/xml-light:=
|
||||
|
||||
dev-lang/neko:=
|
||||
dev-libs/boehm-gc:=
|
||||
dev-libs/libpcre:=
|
||||
net-libs/mbedtls:=
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-ml/camlp5
|
||||
dev-ml/dune
|
||||
dev-ml/findlib
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/haxelib"
|
||||
QA_PRESTRIPPED="usr/bin/haxelib"
|
||||
|
||||
src_configure() {
|
||||
export OCAMLOPT="$(usex ocamlopt ocamlopt.opt ocamlopt)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 BRANCH="" COMMIT_DATE="" COMMIT_SHA="" \
|
||||
OCAMLOPT="${OCAMLOPT}" INSTALL_DIR="/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" INSTALL_DIR="/usr" install
|
||||
dodoc *.md
|
||||
}
|
||||
Reference in New Issue
Block a user