Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 580732 | Differences between
and this patch

Collapse All | Expand All

(-)a/dev-lang/nqp/nqp-2016.03-r1.ebuild (+45 lines)
Line 0 Link Here
1
# Copyright 1999-2016 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
4
5
EAPI=6
6
7
inherit eutils multilib versionator
8
9
GITCRAP=d1e443f
10
11
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
12
HOMEPAGE="http://rakudo.org/"
13
SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
14
15
LICENSE="Artistic-2"
16
SLOT="0"
17
KEYWORDS="~x86 ~amd64"
18
IUSE="doc java +moar"
19
REQUIRED_USE="|| ( java moar )"
20
21
RDEPEND="
22
       java? ( >=virtual/jre-1.7 )
23
       moar? ( ~dev-lang/moarvm-${PV} )
24
       dev-libs/libffi"
25
DEPEND="${RDEPEND}
26
       java? ( >=virtual/jdk-1.7 )
27
       dev-lang/perl"
28
29
S="${WORKDIR}/perl6-nqp-${GITCRAP}"
30
31
src_configure() {
32
       use java && myconf+="jvm,"
33
       use moar && myconf+="moar,"
34
       perl Configure.pl --backend="${myconf}" --prefix=/usr || die
35
}
36
37
src_install() {
38
       emake DESTDIR="${ED}" install || die
39
40
       dodoc CREDITS README.pod || die
41
42
       if use doc; then
43
               dodoc -r docs/* || die
44
       fi
45
}

Return to bug 580732