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