summaryrefslogtreecommitdiff
path: root/dev-lang/moarvm
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/moarvm')
-rw-r--r--dev-lang/moarvm/Manifest2
-rw-r--r--dev-lang/moarvm/moarvm-2021.10.ebuild60
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest
index e3310de7ff71..53e0c4594315 100644
--- a/dev-lang/moarvm/Manifest
+++ b/dev-lang/moarvm/Manifest
@@ -1,6 +1,8 @@
DIST MoarVM-2021.06.tar.gz 5449936 BLAKE2B 2bf6fc2e1a4dd0741819305e506945b09ed2a0fc1348ff98565cae397e76044176f05e87faeed1f52d5efadccb6d44edcb987553f5e164417153a8f23ba09493 SHA512 b23e20ed3e0830395ac09bd84a33ea3ab7ba52bce835c67b1feec45823ca2f0c9d04957d1f1b48b400fc30a48db37c5f89c3975b0273f684d9677145e2296f2c
DIST MoarVM-2021.08.tar.gz 13643526 BLAKE2B 433cfaaad4138d8b98fc4bacd5495281f2a8da5195aa74aded118126afdf11cdf0175fd033472e951e91ab3c1eb11877ab039cd24d911553d5854be18021a87e SHA512 6199871f51a4998e1b5260ba833e3bf09c6115e12334a94de5aa4135b93f8dc754967712ce8e092a36b4940368433be840cbf1a8ce7aec52219f768acd90078d
+DIST MoarVM-2021.10.tar.gz 13711924 BLAKE2B 18e0c8b5429242f7588dc5ad47d92a46146223e8dc7dcef93e2cb3332c2400b29754f1f03ceb9016665771554940667e1373a48c96921922834fd103a73d985a SHA512 a376d0388d9e53b9f07a960ab23ddf8e35379a6dff168d2f726c0f05431804bf4e09b0a2a0eab9a39b9df493030e384e9680a7654bdf9e5c129a6c70aead833d
EBUILD moarvm-2021.06-r1.ebuild 1453 BLAKE2B e55f7009cdd23d8bcff869bb590959982e7a5ef6fa419d6155476f944c555b766247c10e20fe8d60dfb5cce6dd7fa98c6ce8ed9f7e461322b74ea25c92bd6c35 SHA512 f4b022aa0c8385cf6e0e75f8b59470ed27da5a24767401f76e9561d347162101e352deda1272eeab4f28a644770dc4fc411c09811898daf79cac4e5c33fbb693
EBUILD moarvm-2021.08.ebuild 1453 BLAKE2B e55f7009cdd23d8bcff869bb590959982e7a5ef6fa419d6155476f944c555b766247c10e20fe8d60dfb5cce6dd7fa98c6ce8ed9f7e461322b74ea25c92bd6c35 SHA512 f4b022aa0c8385cf6e0e75f8b59470ed27da5a24767401f76e9561d347162101e352deda1272eeab4f28a644770dc4fc411c09811898daf79cac4e5c33fbb693
+EBUILD moarvm-2021.10.ebuild 1453 BLAKE2B e55f7009cdd23d8bcff869bb590959982e7a5ef6fa419d6155476f944c555b766247c10e20fe8d60dfb5cce6dd7fa98c6ce8ed9f7e461322b74ea25c92bd6c35 SHA512 f4b022aa0c8385cf6e0e75f8b59470ed27da5a24767401f76e9561d347162101e352deda1272eeab4f28a644770dc4fc411c09811898daf79cac4e5c33fbb693
EBUILD moarvm-9999.ebuild 1740 BLAKE2B 8cc6d8b3dff8d5fc12f335e854b0d83f3fec8384500a1ca38be253066a7ae8b858c561f8e55579888ed4d224f4216d9eff0bf5f995f139f8cedce936ccdc06da SHA512 3e2223a691efe6cacd229d72559990a8f72b21b39fe697f8e8e2e347c2ddeed82dfac12d49160aa6acbd0baf821e43f6cd7d805fb154fe936bb9882c3d61539c
MISC metadata.xml 803 BLAKE2B ae42152bd02136d44d034e1ae39e457893d720b496681234e1f804c0144d4023dec76ba9edba30df269bac7b9e2cd353b7197e3d21336bc92bcec3fbd877facd SHA512 93ba240a87a853f4df3ed542c0468cd820bd75935253a77f15259293269e1726c71cadcee076550f622444c032d359227f5377a97595e88ef6ef10d034d79aa5
diff --git a/dev-lang/moarvm/moarvm-2021.10.ebuild b/dev-lang/moarvm/moarvm-2021.10.ebuild
new file mode 100644
index 000000000000..965484962763
--- /dev/null
+++ b/dev-lang/moarvm/moarvm-2021.10.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+MY_PN="MoarVM"
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
+ inherit git-r3
+ S="${WORKDIR}/${P}"
+else
+ SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
+HOMEPAGE="http://moarvm.org"
+LICENSE="Artistic-2"
+SLOT="0"
+
+IUSE="asan clang debug doc +jit optimize static-libs ubsan"
+
+RDEPEND="dev-libs/libatomic_ops
+ >=dev-libs/libuv-1.26:=
+ dev-libs/libffi:="
+DEPEND="${RDEPEND}
+ clang? ( >=sys-devel/clang-3.1 )
+ dev-lang/perl"
+
+DOCS=( CREDITS README.markdown )
+
+# Tests are conducted via nqp
+RESTRICT=test
+
+src_configure() {
+ MAKEOPTS+=" NOISY=1"
+ use doc && DOCS+=( docs/* )
+ local prefix="${EPREFIX}/usr"
+ local libdir="${EPREFIX}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
+ local myconfigargs=(
+ "--prefix" "${prefix}"
+ "--has-libuv"
+ "--has-libatomic_ops"
+ "--has-libffi"
+ "--libdir" "${libdir}"
+ "--compiler" "$(usex clang clang gcc)"
+ "$(usex asan --asan)"
+ "$(usex debug --debug --no-debug)"
+ "$(usex optimize --optimize= --no-optimize)"
+ "$(usex static-libs --static)"
+ "$(usex ubsan --ubsan)"
+ )
+
+ perl Configure.pl "${myconfigargs[@]}" moarshared || die
+}