diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-04-06 08:15:51 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-04-06 08:16:12 +0200 |
commit | fe55873931eb12e7aae8784b2c52b4bf0a1abb26 (patch) | |
tree | 856f1cc147ca8521bf2923bc5502fdbbe478434f /dev-lang/parrot | |
parent | 35ae1cc88a79754c7de5e024c3b4440415b314fb (diff) | |
download | gentoo-fe55873931eb12e7aae8784b2c52b4bf0a1abb26.tar.gz gentoo-fe55873931eb12e7aae8784b2c52b4bf0a1abb26.tar.xz |
dev-lang/parrot: Bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-lang/parrot')
-rw-r--r-- | dev-lang/parrot/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/parrot/parrot-8.1.0.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/dev-lang/parrot/Manifest b/dev-lang/parrot/Manifest index 155d5f9b04b..91db3957ece 100644 --- a/dev-lang/parrot/Manifest +++ b/dev-lang/parrot/Manifest @@ -1,3 +1,4 @@ DIST parrot-7.1.0.tar.gz 4688341 SHA256 fe2cac1f5b811f36d6de7454ef1ff394ad66474f203813e5369b4dc68305964b SHA512 b7d261e82934aa84b3d93b2e68b3eb0f13dea684665ca2448a0e2139aa6676c1ff2da1a8056332a7f2538bee6158953be5bceed0ac8a9b277827ec7bcba46cb8 WHIRLPOOL 8083787f8779664e4ec7b3426b3e103dff9a22dfb18051e7617b6738b44156e1084f1691ce02e5869abba4d6455628c30631a9b5c86bc90779e6d2051e85d87b DIST parrot-7.11.0.tar.gz 4703987 SHA256 02c7bb4ce1f7b1643e57393bf58536a15c3c2edfa0d70870cf5aa4e38988a72e SHA512 6f321a7d92b43413bc8cf2d2a03378e27de49573968471ad833232f90f0b61eae81626a80be94d84a783153c5beca3ba57c31fcc861b8b3c6cd33cd2d433a19a WHIRLPOOL 726099fe77580aee4cd5d6fe40510b8b1802c734182da1266aa0e22bba09d9974585732b66a0a3741235c72f724f06e67942d9a6485883229d718fc05f391851 DIST parrot-7.5.0.tar.gz 4693149 SHA256 71c25d2eb0798f1fc1c0890f6e4aed9d5f2a6e4e248456b3502f7721758267fe SHA512 6c009dec6bdb9f419b20f3bb6c103b16018b27b2ed0094f13c957f66d9735cfc126c15f787d4ce577cd0c6492d61264c35c23d50ab29517b65f00df7c4b4d619 WHIRLPOOL 7c0da3ad36d92cdae3d89de5f0938a4744c87301d8d0e76fec9bf7421dda7459ab083e112867702cfb6cfee3f308c856e5d7dcb547b35d27754d23e98dff8c3c +DIST parrot-8.1.0.tar.gz 4700495 SHA256 35850eaea19953d85640a1edeb12da879a94df0812b448dabe9bedc6cf86673a SHA512 f5c4ffeb22a8f4949081ba9d98e3129eb067f6f0ed139248ca1d521570ccbada5dfa69ca2e390868a00ed275780552a5cd06eb271ff14ff753bf8375b7c658c2 WHIRLPOOL 1b0b5f0c658047b7db89edeecb5e72eae868c59e55668e68d0c51dfb758345f0fe9418185af095b334266cfb8ee224231f687e06693eab30e2fd6cc0b0763ca3 diff --git a/dev-lang/parrot/parrot-8.1.0.ebuild b/dev-lang/parrot/parrot-8.1.0.ebuild new file mode 100644 index 00000000000..1e07b683321 --- /dev/null +++ b/dev-lang/parrot/parrot-8.1.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +# weird failures +RESTRICT="test" + +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/all/${PV}/${P}.tar.gz" + +LICENSE="Artistic-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="opengl nls doc examples gdbm +gmp ssl +unicode pcre" + +RDEPEND="sys-libs/readline + dev-libs/libffi + 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 ) + doc? ( dev-perl/JSON )" + +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 PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die + dosym /usr/bin/parrot-ops2c /usr/bin/ops2c || 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 +} |