/[gentoo-x86]/dev-ruby/rake/rake-0.8.7-r6.ebuild
Gentoo

Contents of /dev-ruby/rake/rake-0.8.7-r6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Thu Apr 3 08:59:12 2014 UTC (4 months, 2 weeks ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Cleanup old. Drop ruby18.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.8.7-r6.ebuild,v 1.13 2014/01/05 10:55:30 graaff Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ree18 ruby19 jruby"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_TASK_TEST=""
10
11 inherit bash-completion ruby-fakegem
12
13 DESCRIPTION="Make-like scripting in Ruby"
14 HOMEPAGE="http://rake.rubyforge.org/"
15 SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
16
17 LICENSE="MIT"
18 SLOT="0"
19 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
20 IUSE="bash-completion doc"
21
22 #ruby_add_bdepend test dev-ruby/flexmock
23
24 RESTRICT="test"
25
26 all_ruby_compile() {
27 if use doc; then
28 ruby -Ilib bin/rake rdoc || die "doc generation failed"
29 fi
30 }
31
32 each_ruby_test() {
33 ${RUBY} -Ilib bin/rake test || die "tests failed"
34 }
35
36 all_ruby_install() {
37 ruby_fakegem_binwrapper rake
38
39 if use doc; then
40 pushd html
41 dohtml -r *
42 popd
43 fi
44
45 dodoc CHANGES README TODO || die
46 doman doc/rake.1.gz || die
47
48 dobashcompletion "${FILESDIR}"/rake.bash-completion rake
49 }

  ViewVC Help
Powered by ViewVC 1.1.20