blob: c9927aba976cc9e72467067e5638127ae93110d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2009.12.ebuild,v 1.1 2010/01/08 20:45:18 patrick Exp $
EAPI=2
inherit eutils multilib
MY_PV="${PV/./-}"
MY_P="${PN}-${PV/./-}"
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://cloud.github.com/downloads/${PN}/${PN}/${MY_P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/perl-5.8"
RDEPEND="~dev-lang/parrot-1.9.0
sys-libs/readline
sys-libs/ncurses"
src_configure() {
cd "${MY_P}"
perl Configure.pl || die "configure failed"
}
src_compile() {
cd "${MY_P}"
emake || die "make failed"
}
src_install() {
cd "${MY_P}"
emake install DESTDIR="${D}" || die "install failed"
}
src_test() {
cd "${MY_P}"
emake test || die "test failed"
}
|