/[gentoo-x86]/dev-ruby/loquacious/loquacious-1.9.1.ebuild
Gentoo

Contents of /dev-ruby/loquacious/loquacious-1.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 14 01:15:12 2012 UTC (10 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +7 -8 lines
Port to rspec helper for testing. Only build documentation with USE=doc.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/loquacious/loquacious-1.9.1.ebuild,v 1.2 2012/02/02 22:02:19 tomka Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ruby19 jruby ree18"
8
9 RUBY_FAKEGEM_RECIPE_TEST="rspec"
10
11 RUBY_FAKEGEM_TASK_DOC=""
12 RUBY_FAKEGEM_DOCDIR="doc"
13
14 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
15
16 inherit ruby-fakegem
17
18 DESCRIPTION="Descriptive configuration files for Ruby written in Ruby"
19 HOMEPAGE="http://github.com/TwP/${PN}"
20
21 IUSE=""
22 LICENSE="MIT"
23 SLOT="0"
24 KEYWORDS="~amd64 ~x86"
25
26 all_ruby_prepare() {
27 # Remove metadata because it confuses jruby.
28 rm ../metadata || die
29 }
30
31 all_ruby_compile() {
32 if use doc; then
33 rdoc lib || die "Documentation generation failed."
34 fi
35 }
36
37 all_ruby_install() {
38 all_fakegem_install
39
40 docinto examples
41 dodoc examples/*
42 }

  ViewVC Help
Powered by ViewVC 1.1.20