summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-12-06 04:12:56 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-12-06 04:12:56 +0000
commit813565fbc702223f6a063ab7e1828b0d5fc4c10c (patch)
tree3b10989f58b9f370066154f321a16078e25cc27b /dev-lang/rakudo
parentAdd nqp-j support, moarvm will follow when it's working well enough (diff)
downloadgentoo-2-813565fbc702223f6a063ab7e1828b0d5fc4c10c.tar.gz
gentoo-2-813565fbc702223f6a063ab7e1828b0d5fc4c10c.tar.bz2
gentoo-2-813565fbc702223f6a063ab7e1828b0d5fc4c10c.zip
Add jakudo support
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang/rakudo')
-rw-r--r--dev-lang/rakudo/ChangeLog8
-rw-r--r--dev-lang/rakudo/metadata.xml3
-rw-r--r--dev-lang/rakudo/rakudo-2013.11-r1.ebuild51
-rw-r--r--dev-lang/rakudo/rakudo-2013.11.ebuild4
4 files changed, 63 insertions, 3 deletions
diff --git a/dev-lang/rakudo/ChangeLog b/dev-lang/rakudo/ChangeLog
index 767a9e2e7001..3da1a9966fc1 100644
--- a/dev-lang/rakudo/ChangeLog
+++ b/dev-lang/rakudo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/rakudo
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.49 2013/12/01 07:46:26 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.50 2013/12/06 04:12:56 patrick Exp $
+
+*rakudo-2013.11-r1 (06 Dec 2013)
+
+ 06 Dec 2013; Patrick Lauer <patrick@gentoo.org> +rakudo-2013.11-r1.ebuild,
+ metadata.xml, rakudo-2013.11.ebuild:
+ Add jakudo support
*rakudo-2013.11 (01 Dec 2013)
diff --git a/dev-lang/rakudo/metadata.xml b/dev-lang/rakudo/metadata.xml
index 0f092fb5a12f..e83c0705335f 100644
--- a/dev-lang/rakudo/metadata.xml
+++ b/dev-lang/rakudo/metadata.xml
@@ -6,4 +6,7 @@
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
+ <use>
+ <flag name='parrot'>Build the parrot backend (default)</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-lang/rakudo/rakudo-2013.11-r1.ebuild b/dev-lang/rakudo/rakudo-2013.11-r1.ebuild
new file mode 100644
index 000000000000..d79e2f97dcf5
--- /dev/null
+++ b/dev-lang/rakudo/rakudo-2013.11-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2013.11-r1.ebuild,v 1.1 2013/12/06 04:12:56 patrick Exp $
+
+EAPI=5
+
+PARROT_VERSION="5.9.0"
+NQP_VERSION="${PV}"
+
+inherit eutils multilib
+
+DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
+HOMEPAGE="http://rakudo.org/"
+SRC_URI="http://rakudo.org/downloads/${PN}/${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +parrot java"
+
+RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]
+ >=dev-lang/nqp-${NQP_VERSION}[parrot?,java?]"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+src_prepare() {
+ sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile-Parrot.in || die
+}
+
+src_configure() {
+ use parrot && myconf+="parrot,"
+ use java && myconf+="jvm,"
+ perl Configure.pl --backends=${myconf} --prefix=/usr || die
+}
+
+src_test() {
+ emake -j1 test || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${ED}" install || die
+
+ dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
+
+ if use doc; then
+ dohtml -A svg docs/architecture.html docs/architecture.svg || die
+ dodoc docs/*.pod || die
+ docinto announce
+ dodoc docs/announce/* || die
+ fi
+}
diff --git a/dev-lang/rakudo/rakudo-2013.11.ebuild b/dev-lang/rakudo/rakudo-2013.11.ebuild
index 6c2c285a5abf..f6c58a845d83 100644
--- a/dev-lang/rakudo/rakudo-2013.11.ebuild
+++ b/dev-lang/rakudo/rakudo-2013.11.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2013.11.ebuild,v 1.1 2013/12/01 07:46:26 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2013.11.ebuild,v 1.2 2013/12/06 04:12:56 patrick Exp $
-EAPI=3
+EAPI=5
PARROT_VERSION="5.9.0"
NQP_VERSION="${PV}"