summaryrefslogtreecommitdiff
blob: 3ee2026d7a49e0418db9be0fb6c38d63d2f869d1 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/pugs/pugs-6.2.10.ebuild,v 1.1 2005/12/06 15:19:23 mcummings Exp $

inherit perl-module

MY_P="Perl6-Pugs-${PV}"
MY_PARROT="parrot-0.4.0"
S="${WORKDIR}/-${PV}"
S=${WORKDIR}/${MY_P}

DESCRIPTION="Pugs is an implementation of Perl 6, written in Haskell"
HOMEPAGE="http://pugscode.org/"
SRC_URI="mirror://cpan/authors/id/A/AU/AUTRIJUS/${MY_P}.tar.gz"
LICENSE="|| ( Artistic GPL-2 )"

SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"

IUSE=""

DEPEND="dev-perl/Term-ReadLine-Perl
		|| ( >=dev-lang/ghc-bin-6.4 >=dev-lang/ghc-6.4 )
		>=dev-lang/${MY_PARROT}"
#not yet supported because the 0.9.8 version does not work with ghc-6.4 that is required for pugs

export PARROT_PATH="/usr/lib/${MY_PARROT}"
#this links against parrot and perl5 - if threads was used to compile perl5 this is not supported here
export PUGS_EMBED="parrot perl5"
#del upon ghc-6.4.1 release
export GHCRTS='-A200M'