/[gentoo-x86]/dev-ruby/rails/rails-3.1.3.ebuild
Gentoo

Contents of /dev-ruby/rails/rails-3.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Mar 11 14:11:35 2012 UTC (2 years, 4 months ago) by ranger
Branch: MAIN
Changes since 1.3: +3 -3 lines
Marking rails-3.1.3 ~ppc64 for bug 396547

(Portage version: 2.1.10.11/cvs/Linux ppc64)

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/rails/rails-3.1.3.ebuild,v 1.3 2011/12/31 21:46:49 grobian Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ruby19 ree18"
7
8 RUBY_FAKEGEM_BINWRAP=""
9
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_TASK_TEST=""
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="ruby on rails is a web-application and persistance framework"
16 HOMEPAGE="http://www.rubyonrails.org"
17
18 LICENSE="MIT"
19 SLOT="3.1"
20 KEYWORDS="~amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
21
22 IUSE=""
23
24 RDEPEND=">=app-admin/eselect-rails-0.18"
25
26 ruby_add_rdepend "
27 ~dev-ruby/actionmailer-${PV}
28 ~dev-ruby/actionpack-${PV}
29 ~dev-ruby/activerecord-${PV}
30 ~dev-ruby/activeresource-${PV}
31 ~dev-ruby/activesupport-${PV}
32 =dev-ruby/bundler-1*
33 ~dev-ruby/railties-${PV}"
34
35 all_ruby_install() {
36 all_fakegem_install
37
38 ruby_fakegem_binwrapper rails rails-${PV}
39 }
40
41 pkg_postinst() {
42 elog "To select between slots of rails, use:"
43 elog "\teselect rails"
44
45 eselect rails update
46 }
47
48 pkg_postrm() {
49 eselect rails update
50 }

  ViewVC Help
Powered by ViewVC 1.1.20