diff options
| author | Patrick Lauer <patrick@gentoo.org> | 2020-12-31 07:21:10 +0000 |
|---|---|---|
| committer | Patrick Lauer <patrick@gentoo.org> | 2020-12-31 07:22:51 +0000 |
| commit | ba1d7381e7b543cdc849d8dae7d2f2e0c33536d8 (patch) | |
| tree | 8e4b4c936c8652ca0b448e7a5fbf5e4a482a969f /dev-lang/moarvm/moarvm-2020.12.ebuild | |
| parent | b6210316daa4857cb06e8f11347b59e928ada698 (diff) | |
| download | gentoo-ba1d7381e7b543cdc849d8dae7d2f2e0c33536d8.tar.gz gentoo-ba1d7381e7b543cdc849d8dae7d2f2e0c33536d8.tar.bz2 gentoo-ba1d7381e7b543cdc849d8dae7d2f2e0c33536d8.zip | |
dev-lang/moarvm: Bump
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-lang/moarvm/moarvm-2020.12.ebuild')
| -rw-r--r-- | dev-lang/moarvm/moarvm-2020.12.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-lang/moarvm/moarvm-2020.12.ebuild b/dev-lang/moarvm/moarvm-2020.12.ebuild new file mode 100644 index 000000000000..05561a98ca21 --- /dev/null +++ b/dev-lang/moarvm/moarvm-2020.12.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 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 + KEYWORDS="" + 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 +} |
