/[gentoo-x86]/dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2-r1.ebuild
Gentoo

Contents of /dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 25 21:43:52 2010 UTC (4 years, 3 months ago) by graaff
Branch: MAIN
Convert to ruby-fakegem.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/imlib2-ruby/imlib2-ruby-0.5.2.ebuild,v 1.2 2009/12/20 13:33:23 graaff Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18"
7
8 RUBY_FAKEGEM_TASK_TEST=""
9 RUBY_FAKEGEM_TASK_DOC=""
10 RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog README TODO"
11
12 inherit multilib ruby-fakegem
13
14 DESCRIPTION="Imlib2 bindings for Ruby, written with the help of these people."
15 HOMEPAGE="http://www.pablotron.org/software/imlib2-ruby/"
16 SRC_URI="http://www.pablotron.org/files/gems/${P}.gem"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~x86 ~amd64"
21 IUSE=""
22
23 DEPEND="${DEPEND} >=media-libs/imlib2-1.2.0"
24 RDEPEND="${RDEPEND} >=media-libs/imlib2-1.2.0"
25
26 each_ruby_configure() {
27 ${RUBY} extconf.rb || die
28 }
29
30 each_ruby_compile() {
31 emake || die
32 }
33
34 each_ruby_install() {
35 mkdir lib || die
36 cp imlib2$(get_modname) lib/ || die
37
38 each_fakegem_install
39 }
40
41 all_ruby_install() {
42 all_fakegem_install
43
44 insinto /usr/share/doc/${PF}
45 doins -r examples || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.20