Gentoo Archives: gentoo-commits

From: "Luca Barbato (lu_zero)" <lu_zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/parrot: parrot-2.1.1.ebuild ChangeLog
Date: Sun, 28 Feb 2010 20:42:10
Message-Id: E1Nlpxn-0004iL-WB@stork.gentoo.org
1 lu_zero 10/02/28 20:42:07
2
3 Modified: ChangeLog
4 Added: parrot-2.1.1.ebuild
5 Log:
6 New version
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.29 dev-lang/parrot/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 8 Jan 2010 20:33:23 -0000 1.28
23 +++ ChangeLog 28 Feb 2010 20:42:07 -0000 1.29
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lang/parrot
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.28 2010/01/08 20:33:23 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.29 2010/02/28 20:42:07 lu_zero Exp $
29 +
30 +*parrot-2.1.1 (28 Feb 2010)
31 +
32 + 28 Feb 2010; Luca Barbato <lu_zero@g.o> +parrot-2.1.1.ebuild:
33 + New version
34
35 *parrot-1.9.0 (08 Jan 2010)
36
37
38
39
40 1.1 dev-lang/parrot/parrot-2.1.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/parrot-2.1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/parrot/parrot-2.1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: parrot-2.1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-2.1.1.ebuild,v 1.1 2010/02/28 20:42:07 lu_zero Exp $
50
51 EAPI=2
52
53 inherit eutils multilib
54
55 DESCRIPTION="Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
56 HOMEPAGE="http://www.parrot.org/"
57 SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.gz"
58
59 LICENSE="Artistic-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="opengl nls doc examples gdbm gmp ssl unicode pcre"
63
64 RDEPEND="opengl? ( virtual/glut )
65 nls? ( sys-devel/gettext )
66 unicode? ( >=dev-libs/icu-2.6 )
67 gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
68 gmp? ( >=dev-libs/gmp-4.1.4 )
69 ssl? ( dev-libs/openssl )
70 pcre? ( dev-libs/libpcre )"
71
72 DEPEND="dev-lang/perl[doc?]
73 ${RDEPEND}"
74
75 src_prepare() {
76 sed -e "s:/lib/:/$(get_libdir)/:" -i "${S}/tools/dev/install_files.pl"
77 }
78
79 src_configure() {
80 myconf="--disable-rpath"
81 use unicode || myconf="$myconf --without-icu"
82 use ssl || myconf="$myconf --without-crypto"
83 use gdbm || myconf="$myconf --without-gdbm"
84 use nls || myconf="$myconf --without-gettext"
85 use gmp || myconf="$myconf --without-gmp"
86 use opengl || myconf="$myconf --without-opengl"
87 use pcre || myconf="$myconf --without-pcre"
88
89 perl Configure.pl --prefix=/usr \
90 --libdir=/usr/$(get_libdir) \
91 --sysconfdir=/etc \
92 --sharedstatedir=/var/lib/parrot \
93 $myconf
94 }
95
96 src_compile() {
97 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
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 }