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-1.9.0.ebuild
Date: Fri, 08 Jan 2010 20:33:27
Message-Id: E1NTLWN-0003Js-N0@stork.gentoo.org
1 patrick 10/01/08 20:33:23
2
3 Modified: ChangeLog
4 Added: parrot-1.9.0.ebuild
5 Log:
6 Bump to 1.9.0. Tests finally pass.
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.28 dev-lang/parrot/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 2 Nov 2009 18:49:36 -0000 1.27
23 +++ ChangeLog 8 Jan 2010 20:33:23 -0000 1.28
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lang/parrot
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.27 2009/11/02 18:49:36 patrick Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.28 2010/01/08 20:33:23 patrick Exp $
30 +
31 +*parrot-1.9.0 (08 Jan 2010)
32 +
33 + 08 Jan 2010; Patrick Lauer <patrick@g.o> +parrot-1.9.0.ebuild:
34 + Bump to 1.9.0. Tests finally pass.
35
36 *parrot-1.7.0 (02 Nov 2009)
37
38
39
40
41 1.1 dev-lang/parrot/parrot-1.9.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/parrot-1.9.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/parrot-1.9.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: parrot-1.9.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-1.9.0.ebuild,v 1.1 2010/01/08 20:33:23 patrick Exp $
51
52 EAPI=2
53
54 inherit eutils multilib
55
56 DESCRIPTION="Parrot is a 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/devel/${PV}/${P}.tar.gz"
59
60 LICENSE="Artistic-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="opengl nls doc examples gdbm gmp ssl unicode pcre"
64
65 RDEPEND="opengl? ( virtual/glut )
66 nls? ( sys-devel/gettext )
67 unicode? ( >=dev-libs/icu-2.6 )
68 gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
69 gmp? ( >=dev-libs/gmp-4.1.4 )
70 ssl? ( dev-libs/openssl )
71 pcre? ( dev-libs/libpcre )"
72
73 DEPEND="dev-lang/perl[doc?]
74 ${RDEPEND}"
75
76 src_prepare() {
77 sed -e "s:/lib/:/$(get_libdir)/:" -i "${S}/tools/dev/install_files.pl"
78 }
79
80 src_configure() {
81 myconf=""
82 use unicode || myconf="$myconf --without-icu"
83 use ssl || myconf="$myconf --without-crypto"
84 use gdbm || myconf="$myconf --without-gdbm"
85 use nls || myconf="$myconf --without-gettext"
86 use gmp || myconf="$myconf --without-gmp"
87 use opengl || myconf="$myconf --without-opengl"
88 use pcre || myconf="$myconf --without-pcre"
89
90 perl Configure.pl --prefix=/usr \
91 --libdir=/usr/$(get_libdir) \
92 --sysconfdir=/etc \
93 --sharedstatedir=/var/lib/parrot \
94 $myconf
95 }
96
97 src_compile() {
98 emake || die
99 use doc && make html
100 }
101
102 src_install() {
103 emake -j1 install-dev DESTDIR="${D}" DOC_DIR="/usr/share/doc/${P}" || die
104 }