blob: d33c748e0fce62c9489b232701df709c719a8553 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/pugs/pugs-6.2.11.ebuild,v 1.1 2006/04/04 16:12:39 mcummings Exp $
inherit perl-module multilib eutils
MY_P="Perl6-Pugs-${PV}"
MY_PARROT="parrot-0.4.3"
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.1 >=dev-lang/ghc-6.4.1 )
>=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/$(get_libdir)/${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'
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-build_dir.patch
}
|