/[gentoo-x86]/dev-ruby/rubyforge/rubyforge-2.0.4-r1.ebuild
Gentoo

Contents of /dev-ruby/rubyforge/rubyforge-2.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Sun Jul 10 22:22:07 2011 UTC (3 years ago) by halcy0n
Branch: MAIN
Changes since 1.17: +2 -2 lines
Stable for ppc64; bug #354481

(Portage version: 2.1.10.3/cvs/Linux ppc64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyforge/rubyforge-2.0.4-r1.ebuild,v 1.17 2011/04/23 17:38:28 armin76 Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18 ree18 jruby"
8
9 RUBY_FAKEGEM_TASK_DOC="docs"
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="Simplistic script which automates a limited set of rubyforge operations"
16 HOMEPAGE="http://codeforpeople.rubyforge.org/rubyforge/"
17
18 LICENSE="MIT"
19 SLOT="0"
20 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
21 IUSE=""
22
23 ruby_add_rdepend '>=dev-ruby/json-1.1.7'
24
25 ruby_add_bdepend "
26 doc? ( dev-ruby/hoe )
27 test? (
28 virtual/ruby-test-unit
29 dev-ruby/hoe
30 )"
31
32 # JRuby-specific dependency
33 USE_RUBY="jruby" ruby_add_bdepend "test? ( dev-ruby/jruby-openssl )"
34
35 all_ruby_prepare() {
36 sed -i 's/json_pure/json/' "${WORKDIR}"/all/metadata || die "Unable to fix metadata."
37 }

  ViewVC Help
Powered by ViewVC 1.1.20