| 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.0.16.ebuild,v 1.1 2012/07/28 08:20:24 graaff Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
USE_RUBY="ruby18 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.0"
|
| 20 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
| 21 |
|
| 22 |
IUSE=""
|
| 23 |
|
| 24 |
RDEPEND=">=app-admin/eselect-rails-0.16"
|
| 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.0*
|
| 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 |
}
|