diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-02-22 02:52:47 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-02-22 02:52:47 +0000 |
commit | 51a9808f612a3fd11ed50e909b6b098d29df8b4a (patch) | |
tree | 2b631c71fb4f65d5c0ebfcd3c9a7df54cccad3a9 /dev-lang/rakudo | |
parent | Bump (diff) | |
download | gentoo-2-51a9808f612a3fd11ed50e909b6b098d29df8b4a.tar.gz gentoo-2-51a9808f612a3fd11ed50e909b6b098d29df8b4a.tar.bz2 gentoo-2-51a9808f612a3fd11ed50e909b6b098d29df8b4a.zip |
Bump
(Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang/rakudo')
-rw-r--r-- | dev-lang/rakudo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/rakudo/rakudo-2015.02.ebuild | 58 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-lang/rakudo/ChangeLog b/dev-lang/rakudo/ChangeLog index 376baec17e72..cbcacb83e4a4 100644 --- a/dev-lang/rakudo/ChangeLog +++ b/dev-lang/rakudo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/rakudo # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.69 2015/01/31 15:52:27 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.70 2015/02/22 02:52:47 patrick Exp $ + +*rakudo-2015.02 (22 Feb 2015) + + 22 Feb 2015; Patrick Lauer <patrick@gentoo.org> +rakudo-2015.02.ebuild: + Bump 31 Jan 2015; Mikle Kolyada <zlogene@gentoo.org> -rakudo-2014.07.ebuild, -rakudo-2014.08.ebuild, -rakudo-2014.09-r1.ebuild, -rakudo-2014.09.ebuild, diff --git a/dev-lang/rakudo/rakudo-2015.02.ebuild b/dev-lang/rakudo/rakudo-2015.02.ebuild new file mode 100644 index 000000000000..b37818782a34 --- /dev/null +++ b/dev-lang/rakudo/rakudo-2015.02.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2015.02.ebuild,v 1.1 2015/02/22 02:52:47 patrick Exp $ + +EAPI=5 + +PARROT_VERSION="6.7.0" + +MY_PV="2015.01" + +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 moar" + +RDEPEND="parrot? ( >=dev-lang/parrot-${PARROT_VERSION}:=[unicode] ) + >=dev-lang/nqp-${MY_PV}[parrot?,java?,moar?]" +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," + use moar && myconf+="moar," + perl Configure.pl --backends=${myconf} --prefix=/usr || die + + # why doesn't ops2c get detected?! :( + if use parrot; then + sed -i -e 's~OPS2C = $(PARROT_BIN_DIR)/$(EXE)~OPS2C = $(PARROT_BIN_DIR)/ops2c~' Makefile || die + fi +} + +src_test() { + emake -j1 test || die +} + +src_install() { + emake -j1 DESTDIR="${ED}" install || die + + dodoc CREDITS README.md 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 +} |