summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Yaari <yuval@gentoo.org>2006-10-18 16:52:12 +0000
committerYuval Yaari <yuval@gentoo.org>2006-10-18 16:52:12 +0000
commit5f992b5852d24a7dbc1685a13645701197eeab28 (patch)
tree29229250b1df8902022b8277fb17d3a47427a59f /dev-lang/parrot
parentMark 1.2.0 stable on alpha. #144549 (diff)
downloadgentoo-2-5f992b5852d24a7dbc1685a13645701197eeab28.tar.gz
gentoo-2-5f992b5852d24a7dbc1685a13645701197eeab28.tar.bz2
gentoo-2-5f992b5852d24a7dbc1685a13645701197eeab28.zip
Version bump, mainly to satisfy dev-lang/pugs-6.2.13
(Portage version: 2.1.1)
Diffstat (limited to 'dev-lang/parrot')
-rw-r--r--dev-lang/parrot/ChangeLog7
-rw-r--r--dev-lang/parrot/files/digest-parrot-0.4.63
-rw-r--r--dev-lang/parrot/parrot-0.4.6.ebuild77
3 files changed, 86 insertions, 1 deletions
diff --git a/dev-lang/parrot/ChangeLog b/dev-lang/parrot/ChangeLog
index a50e98578967..36989e656476 100644
--- a/dev-lang/parrot/ChangeLog
+++ b/dev-lang/parrot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/parrot
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.16 2006/08/13 20:59:18 yuval Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.17 2006/10/18 16:52:12 yuval Exp $
+
+*parrot-0.4.6 (18 Oct 2006)
+
+ 18 Oct 2006; Yuval Yaari <yuval@gentoo.org> +parrot-0.4.6.ebuild:
+ Version bump, mainly to satisfy dev-lang/pugs-6.2.13
13 Aug 2006; <yuval@gentoo.org> parrot-0.4.5.ebuild:
Fixed a stupid problem - amd64 can emerge now :)
diff --git a/dev-lang/parrot/files/digest-parrot-0.4.6 b/dev-lang/parrot/files/digest-parrot-0.4.6
new file mode 100644
index 000000000000..3b8417834c76
--- /dev/null
+++ b/dev-lang/parrot/files/digest-parrot-0.4.6
@@ -0,0 +1,3 @@
+MD5 fb32efd57b964662d91db39496358584 parrot-0.4.6.tar.gz 3448586
+RMD160 cdab4726e27313c6d27ad1bcdb1cb9d7c4f0d538 parrot-0.4.6.tar.gz 3448586
+SHA256 9e78792d7c4ce57d87fb1c70ee12aa8008b3fb677009a670b21d1f30556978d4 parrot-0.4.6.tar.gz 3448586
diff --git a/dev-lang/parrot/parrot-0.4.6.ebuild b/dev-lang/parrot/parrot-0.4.6.ebuild
new file mode 100644
index 000000000000..ec7b6fd50ed8
--- /dev/null
+++ b/dev-lang/parrot/parrot-0.4.6.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-0.4.6.ebuild,v 1.1 2006/10/18 16:52:12 yuval Exp $
+
+inherit base eutils multilib
+
+DESCRIPTION="The virtual machine that perl6 relies on."
+HOMEPAGE="http://www.parrotcode.org/"
+SRC_URI="mirror://cpan/authors/id/CHIPS/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86"
+IUSE="gdbm gmp python test"
+
+DEPEND="dev-lang/perl
+ >=dev-libs/icu-2.6
+ gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
+ gmp? ( >=dev-libs/gmp-4.1.4 )
+ python? ( >=dev-lang/python-2.3.4-r1 )
+ "
+ #java? ( >=dev-java/antlr-2.7.5 )
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/parrot-hints.patch
+}
+
+src_compile() {
+ #This configure defines the DESTDIR for make.
+ perl Configure.pl --prefix=/usr/$(get_libdir)/${P} || die "Perl ./Configure.pl failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+
+ #The prefix was set by Configure.pl - see src_compile().
+ make install DESTDIR=${D} PREFIX=/usr/$(get_libdir)/${P} || die
+ dodir /usr/bin
+ dosym /usr/$(get_libdir)/${P}/bin/parrot /usr/bin
+ dosym /usr/$(get_libdir)/${P}/bin/parrot-config /usr/bin
+
+ #copy some files especially for mod_parrot-0.2
+ #maybe this should depend on a USE-Flag i.e. apache
+
+ #install libparrot.a into /usr/lib/
+ dolib.a blib/lib/*.a
+ dolib.so blib/lib/*.so*
+ dosym /usr/$(get_libdir)/${P}/bin/parrot /usr/$(get_libdir)/${P}/parrot
+ dosym /usr/$(get_libdir)/${P} /usr/$(get_libdir)/parrot
+
+ #install libparrot.so.0.4.5 into /usr/$(get_libdir)/
+ #MPC dosym /usr/$(get_libdir)/${p}/lib/libparrot.so.${pv} /usr/$(get_libdir)/libparrot.so.${pV}
+
+ insinto /usr/$(get_libdir)/${P}
+ doins config_lib.pasm
+
+ #copy Header files - this should be done by "make install"
+ dodir /usr/$(get_libdir)/${P}/include
+ dodir /usr/$(get_libdir)/${P}/include/parrot
+ insinto /usr/$(get_libdir)/${P}/include/parrot/
+ doins ${S}/include/parrot/*.h
+
+ #necessary for mod_parrot-0.3
+ dodir /usr/$(get_libdir)/${P}/src/
+ insinto /usr/$(get_libdir)/${P}/src/
+ doins ${S}/src/parrot_config.o
+
+ dodir /usr/share/doc/${P}
+ dodoc README RESPONSIBLE_PARTIES ABI_CHANGES ChangeLog CREDITS NEWS
+}
+
+src_test() {
+ emake test || die "test failed"
+}