blob: 1f2a3bacf5d6480c4ce8ec2260a53813a3e3fd3d (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-0.1.1.ebuild,v 1.5 2004/12/28 11:29:27 mr_bones_ Exp $
DESCRIPTION="The virtual machine that perl6 relies on."
HOMEPAGE="http://www.parrotcode.org/"
SRC_URI="mirror://cpan/authors/id/L/LT/LTOETSCH/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc"
IUSE=""
#this ebuild has been tested with the given perl
#if we trust the README then 5.6 should also be ok.
DEPEND=">=dev-lang/perl-5.8.5-r2
>=dev-libs/icu-2.6"
src_compile() {
#This configure defines the DESTDIR for make.
perl Configure.pl --prefix=${D}|| die "Perl ./Configure.pl failed"
emake -j1 || die "emake failed"
}
src_install() {
#The prefix was set by Configure.pl - see src_compile().
make install BUILDPREFIX=${D} PREFIX=/usr/lib/${P} || die
dodir /usr/bin
dosym /usr/lib/${P}/bin/parrot /usr/bin
#TODO: put the doc (pod) and examples in a special dir
#/docs/ /examples/
#Note: this is not yet supported by the Makefile
#TODO:
#dodoc ...
}
src_test() {
emake test || die "test failed"
}
|