Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/parrot: parrot-3.11.0-r1.ebuild ChangeLog parrot-3.11.0.ebuild
Date: Tue, 27 Dec 2011 06:42:34
Message-Id: 20111227064223.758792004B@flycatcher.gentoo.org
1 patrick 11/12/27 06:42:23
2
3 Modified: ChangeLog
4 Added: parrot-3.11.0-r1.ebuild
5 Removed: parrot-3.11.0.ebuild
6 Log:
7 REQUIRED_USE fix for #377389, eapi4
8
9 (Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.49 dev-lang/parrot/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.49&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.49&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/ChangeLog?r1=1.48&r2=1.49
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v
21 retrieving revision 1.48
22 retrieving revision 1.49
23 diff -u -r1.48 -r1.49
24 --- ChangeLog 27 Dec 2011 05:35:33 -0000 1.48
25 +++ ChangeLog 27 Dec 2011 06:42:23 -0000 1.49
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-lang/parrot
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.48 2011/12/27 05:35:33 patrick Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.49 2011/12/27 06:42:23 patrick Exp $
31 +
32 +*parrot-3.11.0-r1 (27 Dec 2011)
33 +
34 + 27 Dec 2011; Patrick Lauer <patrick@g.o> +parrot-3.11.0-r1.ebuild,
35 + -parrot-3.11.0.ebuild:
36 + REQUIRED_USE fix for #377389, eapi4
37
38 *parrot-3.11.0 (27 Dec 2011)
39
40
41
42
43 1.1 dev-lang/parrot/parrot-3.11.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/parrot-3.11.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/parrot-3.11.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: parrot-3.11.0-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-3.11.0-r1.ebuild,v 1.1 2011/12/27 06:42:23 patrick Exp $
53
54 EAPI=4
55
56 inherit eutils multilib
57
58 DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
59 HOMEPAGE="http://www.parrot.org/"
60 SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.bz2"
61
62 LICENSE="Artistic-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
65 IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
66
67 RDEPEND="sys-libs/readline
68 opengl? ( media-libs/freeglut )
69 nls? ( sys-devel/gettext )
70 unicode? ( >=dev-libs/icu-2.6 )
71 gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
72 gmp? ( >=dev-libs/gmp-4.1.4 )
73 ssl? ( dev-libs/openssl )
74 pcre? ( dev-libs/libpcre )"
75
76 DEPEND="dev-lang/perl[doc?]
77 ${RDEPEND}"
78
79 REQUIRED_USE="opengl? ( pcre )"
80
81 src_configure() {
82 myconf="--disable-rpath"
83 use unicode || myconf+=" --without-icu"
84 use ssl || myconf+=" --without-crypto"
85 use gdbm || myconf+=" --without-gdbm"
86 use nls || myconf+=" --without-gettext"
87 use gmp || myconf+=" --without-gmp"
88 use opengl || myconf+=" --without-opengl"
89 use pcre || myconf+=" --without-pcre"
90
91 perl Configure.pl \
92 --ccflags="${CFLAGS}" \
93 --linkflags="${LDFLAGS}" \
94 --prefix="${EPREFIX}"/usr \
95 --libdir="${EPREFIX}"/usr/$(get_libdir) \
96 --mandir="${EPREFIX}"/usr/share/man \
97 --sysconfdir="${EPREFIX}"/etc \
98 --sharedstatedir="${EPREFIX}"/var/lib/parrot \
99 $myconf || die
100 }
101
102 src_compile() {
103 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
104 # occasionally dies in parallel make
105 emake -j1 || die
106 if use doc ; then
107 emake -j1 html || die
108 fi
109 }
110
111 src_test() {
112 emake -j1 test || die
113 }
114
115 src_install() {
116 emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
117 dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
118 if use examples; then
119 insinto "/usr/share/doc/${PF}/examples"
120 doins -r examples/* || die
121 fi
122 if use doc; then
123 insinto "/usr/share/doc/${PF}/editor"
124 doins -r editor || die
125 cd docs/html
126 dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
127 pmc.html tools.html docs src tools || die
128 fi
129 }