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