Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/rubinius: ChangeLog rubinius-0.8_pre20080208.ebuild
Date: Fri, 08 Feb 2008 15:23:43
Message-Id: E1JNV4m-0004ZO-50@stork.gentoo.org
1 caleb 08/02/08 15:23:40
2
3 Modified: ChangeLog
4 Added: rubinius-0.8_pre20080208.ebuild
5 Log:
6 version bump, now grab straight from git sources
7 (Portage version: 2.1.4.1)
8
9 Revision Changes Path
10 1.2 dev-lang/rubinius/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/rubinius/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/rubinius/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/rubinius/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 29 Jan 2008 18:42:20 -0000 1.1
23 +++ ChangeLog 8 Feb 2008 15:23:39 -0000 1.2
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-lang/rubinius
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.1 2008/01/29 18:42:20 caleb Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.2 2008/02/08 15:23:39 caleb Exp $
29 +
30 +*rubinius-0.8_pre20080208 (08 Feb 2008)
31 +
32 + 08 Feb 2008; Caleb Tennis <caleb@g.o>
33 + +rubinius-0.8_pre20080208.ebuild:
34 + version bump, now grab straight from git sources
35
36 *rubinius-0.8_pre20080129 (29 Jan 2008)
37
38
39
40
41 1.1 dev-lang/rubinius/rubinius-0.8_pre20080208.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/rubinius/rubinius-0.8_pre20080208.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/rubinius/rubinius-0.8_pre20080208.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rubinius-0.8_pre20080208.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-0.8_pre20080208.ebuild,v 1.1 2008/02/08 15:23:39 caleb Exp $
51
52 EAPI=1
53 EGIT_REPO_URI="git://git.rubini.us/code"
54
55 inherit multilib git
56
57 # Must go after inherit git
58 # This is the tree shaid that we want to grab
59 EGIT_TREE="f60fd914037838ac01032d85336675f0afd0964c"
60
61 DESCRIPTION="An alternative ruby interpreter"
62 HOMEPAGE="http://rubini.us"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~x86 ~amd64"
67 IUSE="debug"
68
69 RDEPEND=">=dev-lang/ruby-1.8.6_p110:1.8
70 dev-ruby/rubygems"
71 DEPEND="sys-devel/bison
72 dev-util/pkgconfig
73 dev-ruby/rake
74 ${RDEPEND}"
75
76 src_compile() {
77 sed -ie "s:PREFIX=/usr/local:PREFIX=/usr:g" "${S}"/shotgun/vars.mk
78
79 if use debug; then
80 DEV=1 rake build
81 else
82 rake build
83 fi
84 }
85
86 src_install() {
87 LIBDIR=$(get_libdir)
88 RDIR=/usr/${LIBDIR}/rubinius
89
90 dodir ${RDIR}/shotgun
91 cp -pR "${S}"/runtime "${D}"/${RDIR}
92 cp -pR "${S}"/lib "${D}"/${RDIR}
93 install shotgun/lib/librubinius-0.8.0.so "${D}"/usr/${LIBDIR}
94
95 install shotgun/rubinius "${D}"/${RDIR}/shotgun
96 install shotgun/rubinius.bin "${D}"/${RDIR}/shotgun
97 install shotgun/gdb* "${D}"/${RDIR}/shotgun
98 dosym ${RDIR}/shotgun/rubinius /usr/bin/rbx
99 }
100
101 src_test() {
102 ./bin/ci
103 }
104
105
106
107 --
108 gentoo-commits@l.g.o mailing list