# 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.12.ebuild,v 1.1 2006/08/13 15:56:14 yuval Exp $ inherit perl-module multilib eutils MY_P="Perl6-Pugs-${PV}" 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/parrot-0.4.5" #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)/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 }