diff options
author | Yuval Yaari <yuval@gentoo.org> | 2008-04-29 01:29:11 +0000 |
---|---|---|
committer | Yuval Yaari <yuval@gentoo.org> | 2008-04-29 01:29:11 +0000 |
commit | 57e590e0604effa2a4a4b10df4239f05473983f0 (patch) | |
tree | bddad706fe12e8912ddcc647ab0c27a4fbb2186c | |
parent | removing hardened-gcc (diff) | |
download | gentoo-2-57e590e0604effa2a4a4b10df4239f05473983f0.tar.gz gentoo-2-57e590e0604effa2a4a4b10df4239f05473983f0.tar.bz2 gentoo-2-57e590e0604effa2a4a4b10df4239f05473983f0.zip |
Version bump
(Portage version: 2.1.4.4)
-rw-r--r-- | dev-lang/parrot/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/parrot/parrot-0.6.1.ebuild | 66 |
2 files changed, 75 insertions, 1 deletions
diff --git a/dev-lang/parrot/ChangeLog b/dev-lang/parrot/ChangeLog index 725f01de2e42..20ab054f6506 100644 --- a/dev-lang/parrot/ChangeLog +++ b/dev-lang/parrot/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-lang/parrot # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.18 2008/01/29 21:30:15 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.19 2008/04/29 01:29:11 yuval Exp $ + + 29 Apr 2008; Yuval Yaari <yuval@gentoo.org> +parrot-0.6.1.ebuild: + Version bump + +*parrot-0.6.1 (29 Apr 2008) + + 29 Apr 2008; Yuval Yaari <yuval@gentoo.org> +parrot-0.6.1.ebuild: + Version bump 29 Jan 2008; Fabian Groffen <grobian@gentoo.org> parrot-0.4.0.ebuild, parrot-0.4.3.ebuild, parrot-0.4.5.ebuild, parrot-0.4.6.ebuild: diff --git a/dev-lang/parrot/parrot-0.6.1.ebuild b/dev-lang/parrot/parrot-0.6.1.ebuild new file mode 100644 index 000000000000..39252187f330 --- /dev/null +++ b/dev-lang/parrot/parrot-0.6.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-0.6.1.ebuild,v 1.1 2008/04/29 01:29:11 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/P/PA/PARTICLE/${P}.tar.gz" +LICENSE="|| ( Artistic GPL-2 )" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc examples gdbm gmp python" + +RDEPEND=">=dev-libs/icu-2.6 + >=sys-libs/ncurses-5.2-r2 + >=sys-libs/readline-5.1 + gdbm? ( >=sys-libs/gdbm-1.8.3-r1 ) + gmp? ( >=dev-libs/gmp-4.1.4 )" + +DEPEND="${RDEPEND} + dev-lang/perl + python? ( =dev-lang/python-2.4* )" + #java? ( >=dev-java/antlr-2.7.5 ) + +src_compile() { + #This configure defines the DESTDIR for make. + perl Configure.pl --prefix=/usr --libdir=/usr/$(get_libdir) || die "Perl ./Configure.pl failed" + emake -j1 || die "emake failed" + if use doc ; then + emake html || die "emake html failed" + fi +} + +src_install() { + #Don't install stuff that is unnecessary + #We can't do this in src_unpack() because it breaks emake html + sed -e '/^\(docs\/\|LICENSES\|TODO\|compilers\|config\)/ D' -i MANIFEST + sed -e '/^\(docs\/\|compilers\|config\)/ D' -i MANIFEST.generated + sed -e '/^src.*\[main\]$/ D' -i MANIFEST.generated + if ! use examples ; then + sed -e '/^examples\// D' -i MANIFEST + sed -e '/^examples\// D' -i MANIFEST.generated + fi + #Because install_files.pl doesn't respect LIB_DIR in some places + sed -e "s:/lib/:/$(get_libdir)/:" -i tools/dev/install_files.pl + #The prefix was set by Configure.pl - see src_compile(). + emake -j1 reallyinstall DESTDIR="${D}" DOC_DIR="/usr/share/doc/${P}" || die "emake install failed" + insinto "/usr/$(get_libdir)/${PN}" + doins config_lib.pasm + + #necessary for mod_parrot-0.3 + dodir "/usr/$(get_libdir)/${PN}/src/" + insinto "/usr/$(get_libdir)/${PN}/src/" + doins "${S}/src/install_config.o" "${S}/src/null_config.o" "${S}/src/parrot_config.o" + + pod2html DEPRECATED.pod > DEPRECATED.html + dodoc README RESPONSIBLE_PARTIES ABI_CHANGES ChangeLog CREDITS NEWS \ + DEPRECATED.html + use doc && dohtml -r docs/html/* +} + +src_test() { + emake test || die "test failed" +} |