diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-07-30 09:46:45 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-07-30 09:46:45 +0000 |
commit | c8ba7b936958d141f7fcd78523c2eb47dc02f9d0 (patch) | |
tree | a775fba6cbe42cdffd32c0ea9d8b0f9bfc757f3f /dev-lang | |
parent | Remove hardened use flag, bug #375873 (diff) | |
download | gentoo-2-c8ba7b936958d141f7fcd78523c2eb47dc02f9d0.tar.gz gentoo-2-c8ba7b936958d141f7fcd78523c2eb47dc02f9d0.tar.bz2 gentoo-2-c8ba7b936958d141f7fcd78523c2eb47dc02f9d0.zip |
Bump
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/parrot/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/parrot/parrot-3.6.0.ebuild | 79 |
2 files changed, 85 insertions, 1 deletions
diff --git a/dev-lang/parrot/ChangeLog b/dev-lang/parrot/ChangeLog index 29a53226d50f..935080dc2cae 100644 --- a/dev-lang/parrot/ChangeLog +++ b/dev-lang/parrot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/parrot # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.43 2011/05/05 14:00:26 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.44 2011/07/30 09:46:45 patrick Exp $ + +*parrot-3.6.0 (30 Jul 2011) + + 30 Jul 2011; Patrick Lauer <patrick@gentoo.org> +parrot-3.6.0.ebuild: + Bump *parrot-3.3.0 (05 May 2011) diff --git a/dev-lang/parrot/parrot-3.6.0.ebuild b/dev-lang/parrot/parrot-3.6.0.ebuild new file mode 100644 index 000000000000..b4b0128d76c6 --- /dev/null +++ b/dev-lang/parrot/parrot-3.6.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-3.6.0.ebuild,v 1.1 2011/07/30 09:46:45 patrick Exp $ + +EAPI=3 + +inherit eutils multilib + +DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages" +HOMEPAGE="http://www.parrot.org/" +#SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/supported/${PV}/${P}.tar.bz2" +SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/stable/${PV}/${P}.tar.bz2" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre" + +RDEPEND="sys-libs/readline + opengl? ( media-libs/freeglut ) + nls? ( sys-devel/gettext ) + unicode? ( >=dev-libs/icu-2.6 ) + gdbm? ( >=sys-libs/gdbm-1.8.3-r1 ) + gmp? ( >=dev-libs/gmp-4.1.4 ) + ssl? ( dev-libs/openssl ) + pcre? ( dev-libs/libpcre )" + +DEPEND="dev-lang/perl[doc?] + ${RDEPEND}" + +src_configure() { + myconf="--disable-rpath" + use unicode || myconf+=" --without-icu" + use ssl || myconf+=" --without-crypto" + use gdbm || myconf+=" --without-gdbm" + use nls || myconf+=" --without-gettext" + use gmp || myconf+=" --without-gmp" + use opengl || myconf+=" --without-opengl" + use pcre || myconf+=" --without-pcre" + + perl Configure.pl \ + --ccflags="${CFLAGS}" \ + --linkflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --sysconfdir="${EPREFIX}"/etc \ + --sharedstatedir="${EPREFIX}"/var/lib/parrot \ + $myconf || die +} + +src_compile() { + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib + # occasionally dies in parallel make + emake -j1 || die + if use doc ; then + emake -j1 html || die + fi +} + +src_test() { + emake -j1 test || die +} + +src_install() { + emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die + dodoc CREDITS DONORS.pod NEWS PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins -r examples/* || die + fi + if use doc; then + insinto "/usr/share/doc/${PF}/editor" + doins -r editor || die + cd docs/html + dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \ + pmc.html tools.html docs src tools || die + fi +} |