/[gentoo-x86]/dev-lang/rakudo/rakudo-2012.05.ebuild
Gentoo

Contents of /dev-lang/rakudo/rakudo-2012.05.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 18 03:31:48 2012 UTC (2 years, 1 month ago) by patrick
Branch: MAIN
Bump

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2012.04.1.ebuild,v 1.2 2012/04/26 16:03:27 patrick Exp $
4
5 EAPI=3
6
7 PARROT_VERSION="4.4.0"
8 NQP_VERSION="${PV}"
9
10 inherit eutils multilib
11
12 DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
13 HOMEPAGE="http://rakudo.org/"
14 SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
15
16 LICENSE="Artistic-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="doc"
20
21 RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]
22 >=dev-lang/nqp-${NQP_VERSION}"
23 DEPEND="${RDEPEND}
24 dev-lang/perl"
25
26 src_prepare() {
27 sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile.in || die
28 }
29
30 src_configure() {
31 perl Configure.pl || die
32 }
33
34 src_test() {
35 emake -j1 test || die
36 }
37
38 src_install() {
39 emake DESTDIR="${ED}" install || die
40
41 dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
42
43 if use doc; then
44 dohtml -A svg docs/architecture.html docs/architecture.svg || die
45 dodoc docs/*.pod || die
46 docinto announce
47 dodoc docs/announce/* || die
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20