forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
- Loading branch information
1 parent
aa312e2
commit 90e30c9
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST MoarVM-2018.01.tar.gz 4762110 BLAKE2B 643fc082ec1ba9b79bb5d0c13e66703850b75673a73e659fc8b2400cbb0d986b1882b7d23721a77773891649d709328ace1023d50d4ffacae5d75091a8976912 SHA512 2e558c92562096596992e6e0070092481e5a5d25ac3047110d023536deebc9a4db21d9844ecf3b7c0ae5cc6fa529cc48d9a8e98cdc2f5e23a8effc37b7509ef9 | ||
DIST MoarVM-2018.02.tar.gz 4769154 BLAKE2B 28eaf603c908c4d1fb5d9fc8e771e3a54165102288f566aca04df6740cfc307e2cea5beeeed9be490b9f4136e4dc8e9bb20249aab07d46e9f3bb9ab522f5a4a8 SHA512 3364a1af68b828de30affa4c21fe691d10353175cc18e815f962f8dcafb63947ce3fd3ae5c10c656b90f4cb02f3fd008a9a99f832d76098c12525b36e46924d0 | ||
DIST MoarVM-2018.03.tar.gz 4859280 BLAKE2B 373ed24f30abc669aef914dd8e683a09f09831c82fa81784da78bd9ab31ee14bc6967afce1e2753cc6df7155bfbfba076062375348345d529872352a396a7c36 SHA512 be613e038747d771de03129e52d6e65712ddf6f73ed87eb008ae78968f2d516b4fded792a67e1ce031378c223408101ceaf25f90abf9ba35ee20c6e8401b46f1 | ||
DIST MoarVM-2018.04.tar.gz 4966390 BLAKE2B 708753aaccdd997e0703ce31706221efaaaafa0c877ae3fdf1035e399545a633a9d9fbc26909798084bf9f9d6854cc07457299119f7f50e7335a6b09291c360b SHA512 cbcceabc2f3d3d3ac73655bf16246f714923abbe909f2bfa6b1f2456801a4bebfe246f552e2704da254609e1edb66b564ef5b845c88af3761a6d552b2364fc51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
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 static-libs optimize ubsan" | ||
|
||
RDEPEND="dev-libs/libatomic_ops | ||
dev-libs/libuv | ||
dev-lang/lua:0[deprecated] | ||
dev-lua/LuaBitOp | ||
virtual/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() { | ||
use doc && DOCS+=( docs/* ) | ||
local myconfigargs=( | ||
"--prefix=/usr" | ||
"--has-libuv" | ||
"--has-libatomic_ops" | ||
"--has-libffi" | ||
"--libdir=$(get_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)" | ||
) | ||
use optimize && filter-flags '-O*' | ||
|
||
perl Configure.pl "${myconfigargs[@]}" || die | ||
} |