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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Feb 16 08:16:56 2012 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
Changes since 1.2: +2 -2 lines
Fixing SRC_URI

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

1 patrick 1.2 # Copyright 1999-2012 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2011.12.ebuild,v 1.2 2012/02/16 07:20:06 patrick Exp $
4 patrick 1.1
5     EAPI=3
6    
7     PARROT_VERSION="3.11.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 patrick 1.3 SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
15 patrick 1.1
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     # >=dev-lang/perl-5.10"
26    
27     src_prepare() {
28     sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile.in || die
29     }
30    
31     src_configure() {
32     perl Configure.pl || die
33     }
34    
35     src_test() {
36     emake -j1 test || die
37     }
38    
39     src_install() {
40     emake DESTDIR="${ED}" install || die
41    
42     dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
43    
44     if use doc; then
45     dohtml -A svg docs/architecture.html docs/architecture.svg || die
46     dodoc docs/*.pod || die
47     docinto announce
48     dodoc docs/announce/* || die
49     fi
50     }

  ViewVC Help
Powered by ViewVC 1.1.20