From: | "Caleb Tennis (caleb)" <caleb@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/IceRuby: ChangeLog IceRuby-3.3.1.ebuild |
Date: | Sat, 28 Mar 2009 23:36:47 |
Message-Id: | E1Lni4z-00061d-L0@stork.gentoo.org |
1 | caleb 09/03/28 23:36:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: IceRuby-3.3.1.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.6.9/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.15 dev-ruby/IceRuby/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/ChangeLog?rev=1.15&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/ChangeLog?rev=1.15&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/ChangeLog?r1=1.14&r2=1.15 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v |
19 | retrieving revision 1.14 |
20 | retrieving revision 1.15 |
21 | diff -u -r1.14 -r1.15 |
22 | --- ChangeLog 21 May 2008 18:12:04 -0000 1.14 |
23 | +++ ChangeLog 28 Mar 2009 23:36:45 -0000 1.15 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-ruby/IceRuby |
26 | -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.14 2008/05/21 18:12:04 caleb Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.15 2009/03/28 23:36:45 caleb Exp $ |
30 | + |
31 | +*IceRuby-3.3.1 (28 Mar 2009) |
32 | + |
33 | + 28 Mar 2009; Caleb Tennis <caleb@g.o> |
34 | + +files/IceRuby-3.3.1-Makefile.patch, +IceRuby-3.3.1.ebuild: |
35 | + Version bump |
36 | |
37 | *IceRuby-3.3.0 (21 May 2008) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-ruby/IceRuby/IceRuby-3.3.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.3.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.3.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: IceRuby-3.3.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.3.1.ebuild,v 1.1 2009/03/28 23:36:45 caleb Exp $ |
52 | |
53 | inherit eutils |
54 | |
55 | MY_P=${P/Ruby/} |
56 | |
57 | DESCRIPTION="ICE middleware C++ bindings" |
58 | HOMEPAGE="http://www.zeroc.com/index.html" |
59 | SRC_URI="http://www.zeroc.com/download/Ice/3.3/${MY_P}.tar.gz" |
60 | |
61 | S=${WORKDIR}/${MY_P}/rb |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~x86" |
66 | IUSE="test debug" |
67 | |
68 | RDEPEND="~dev-cpp/Ice-3.3.1 |
69 | >=dev-lang/ruby-1.8.6" |
70 | |
71 | DEPEND="${RDEPEND} |
72 | test? ( >=dev-lang/python-2.4 )" |
73 | |
74 | src_unpack() { |
75 | unpack ${A} |
76 | cd "${S}" |
77 | |
78 | epatch "${FILESDIR}/${P}-Makefile.patch" |
79 | |
80 | MAKE_RULES="${S}/config/Make.rules" |
81 | |
82 | mkdir -p "${S}/bin" |
83 | mkdir -p "${S}/lib" |
84 | |
85 | cp /usr/bin/slice2rb "${S}"/../cpp/bin |
86 | |
87 | if use amd64; then |
88 | sed -i -e "s:^#LP64:LP64:g" "${MAKE_RULES}" \ |
89 | || die "Failed to set lib64 directory" |
90 | fi |
91 | |
92 | if ! use debug; then |
93 | sed -i -e "s:#OPTIMIZE:OPTIMIZE:" \ |
94 | "${MAKE_RULES}" || die "Failed to remove debug" |
95 | fi |
96 | |
97 | # sed -i -e \ |
98 | # "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \ |
99 | # "${MAKE_RULES}.Linux" || die "CXXFLAGS patching failed!" |
100 | } |
101 | |
102 | src_compile() { |
103 | make depend |
104 | emake || die "Died during make" |
105 | } |
106 | |
107 | src_install() { |
108 | emake DESTDIR="${D}" install || die "Install Failed!" |
109 | } |