Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/imlib2-ruby: ChangeLog imlib2-ruby-0.5.2-r1.ebuild
Date: Fri, 25 Jun 2010 21:43:58
Message-Id: 20100625214353.3DD322CF69@corvid.gentoo.org
1 graaff 10/06/25 21:43:52
2
3 Modified: ChangeLog
4 Added: imlib2-ruby-0.5.2-r1.ebuild
5 Log:
6 Convert to ruby-fakegem.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 dev-ruby/imlib2-ruby/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/imlib2-ruby/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/imlib2-ruby/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/imlib2-ruby/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/imlib2-ruby/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 20 Dec 2009 13:33:23 -0000 1.2
23 +++ ChangeLog 25 Jun 2010 21:43:52 -0000 1.3
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/imlib2-ruby
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/imlib2-ruby/ChangeLog,v 1.2 2009/12/20 13:33:23 graaff Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/imlib2-ruby/ChangeLog,v 1.3 2010/06/25 21:43:52 graaff Exp $
30 +
31 +*imlib2-ruby-0.5.2-r1 (25 Jun 2010)
32 +
33 + 25 Jun 2010; Hans de Graaff <graaff@g.o>
34 + +imlib2-ruby-0.5.2-r1.ebuild:
35 + Convert to ruby-fakegem.
36
37 20 Dec 2009; Hans de Graaff <graaff@g.o> imlib2-ruby-0.5.2.ebuild:
38 Remove obsolete virtual/ruby dependency.
39
40
41
42 1.1 dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: imlib2-ruby-0.5.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2-r1.ebuild,v 1.1 2010/06/25 21:43:52 graaff Exp $
52
53 EAPI=2
54 USE_RUBY="ruby18"
55
56 RUBY_FAKEGEM_TASK_TEST=""
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog README TODO"
59
60 inherit multilib ruby-fakegem
61
62 DESCRIPTION="Imlib2 bindings for Ruby, written with the help of these people."
63 HOMEPAGE="http://www.pablotron.org/software/imlib2-ruby/"
64 SRC_URI="http://www.pablotron.org/files/gems/${P}.gem"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~x86 ~amd64"
69 IUSE=""
70
71 DEPEND="${DEPEND} >=media-libs/imlib2-1.2.0"
72 RDEPEND="${RDEPEND} >=media-libs/imlib2-1.2.0"
73
74 each_ruby_configure() {
75 ${RUBY} extconf.rb || die
76 }
77
78 each_ruby_compile() {
79 emake || die
80 }
81
82 each_ruby_install() {
83 mkdir lib || die
84 cp imlib2$(get_modname) lib/ || die
85
86 each_fakegem_install
87 }
88
89 all_ruby_install() {
90 all_fakegem_install
91
92 insinto /usr/share/doc/${PF}
93 doins -r examples || die
94 }