Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/fxruby: ChangeLog fxruby-1.6.19.ebuild fxruby-1.6.18.ebuild
Date: Sat, 21 Mar 2009 18:56:28
Message-Id: E1Ll6Mc-0004MK-KN@stork.gentoo.org
1 mabi 09/03/21 18:56:10
2
3 Modified: ChangeLog
4 Added: fxruby-1.6.19.ebuild
5 Removed: fxruby-1.6.18.ebuild
6 Log:
7 version bump, cleanup
8 (Portage version: 2.1.6.9/cvs/Linux ppc)
9
10 Revision Changes Path
11 1.73 dev-ruby/fxruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.73&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.73&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/fxruby/ChangeLog?r1=1.72&r2=1.73
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v
20 retrieving revision 1.72
21 retrieving revision 1.73
22 diff -u -r1.72 -r1.73
23 --- ChangeLog 4 Jan 2009 16:32:49 -0000 1.72
24 +++ ChangeLog 21 Mar 2009 18:56:10 -0000 1.73
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/fxruby
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.72 2009/01/04 16:32:49 mabi Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.73 2009/03/21 18:56:10 mabi Exp $
30 +
31 +*fxruby-1.6.19 (21 Mar 2009)
32 +
33 + 21 Mar 2009; Matti Bickel <mabi@g.o> -fxruby-1.6.18.ebuild,
34 + +fxruby-1.6.19.ebuild:
35 + version bump, cleanup
36
37 *fxruby-1.6.18-r1 (04 Jan 2009)
38
39
40
41
42 1.1 dev-ruby/fxruby/fxruby-1.6.19.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.19.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.19.ebuild?rev=1.1&content-type=text/plain
46
47 Index: fxruby-1.6.19.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/fxruby/fxruby-1.6.19.ebuild,v 1.1 2009/03/21 18:56:10 mabi Exp $
52
53 EAPI="1"
54
55 RUBY_BUG_145222=yes
56 inherit ruby
57
58 MY_P="FXRuby-${PV}"
59
60 DESCRIPTION="Ruby language binding to the FOX GUI toolkit"
61 HOMEPAGE="http://www.fxruby.org/"
62 SRC_URI="mirror://rubyforge/${PN}/${MY_P}.tar.gz"
63
64 LICENSE="LGPL-2.1"
65 SLOT="1.6"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
67 IUSE="examples doc"
68
69 DEPEND="x11-libs/fox:1.6
70 >=x11-libs/fxscintilla-1.62-r1"
71 USE_RUBY="ruby18 ruby19"
72
73 S="${WORKDIR}/${MY_P}"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 sed -i -e 's:libs, "fxscintilla":libs, "fxscintilla-1.6":g' \
80 ext/fox16/extconf.rb || die "sed error"
81 einfo "Avoid -O0 builds"
82 sed -i -e 's:-O0 -Iinclude:-Iinclude:g' \
83 ext/fox16/extconf.rb || die "Can't fix forced -O0"
84 }
85
86 src_install() {
87 ${RUBY} install.rb config --prefix="${D}/usr" "$@" \
88 ${RUBY_ECONF} || die "install.rb config failed"
89
90 ${RUBY} install.rb install "$@" --prefix="${D}" \
91 ${RUBY_ECONF} || die "install.rb install failed"
92
93 # from ruby.eclass, but with use flag control
94 if use doc; then
95 local rdbase=/usr/share/doc/${PF}/rd rdfiles=$(find . -name '*.rd*')
96
97 einfo "running dodoc for ruby ;)"
98
99 insinto ${rdbase}
100 [ -n "${rdfiles}" ] && doins ${rdfiles}
101 rmdir ${D}${rdbase} 2>/dev/null || true
102 if [ -d doc -o -d docs ] ; then
103 dohtml -x html -r {doc,docs}/*
104 dohtml -r {doc,docs}/html/*
105 else
106 dohtml -r *
107 fi
108
109 for i in ChangeLog* [[:upper:]][[:upper:]]* ; do
110 [ -e $i ] && dodoc $i
111 done
112 fi
113
114 if use examples; then
115 for dir in sample samples example examples; do
116 if [ -d ${dir} ] ; then
117 dodir /usr/share/doc/${PF}
118 cp -pPR ${dir} ${D}/usr/share/doc/${PF} || die "cp failed"
119 fi
120 done
121 fi
122 }