| 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.6.ebuild,v 1.1 2012/06/17 09:28:37 graaff Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 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 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
| 21 |
|
| 22 |
IUSE="+asset-pipeline"
|
| 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 |
asset-pipeline? (
|
| 35 |
dev-ruby/jquery-rails:0
|
| 36 |
dev-ruby/sass-rails
|
| 37 |
dev-ruby/uglifier
|
| 38 |
dev-ruby/coffee-rails
|
| 39 |
)"
|
| 40 |
|
| 41 |
all_ruby_install() {
|
| 42 |
all_fakegem_install
|
| 43 |
|
| 44 |
ruby_fakegem_binwrapper rails rails-${PV}
|
| 45 |
}
|
| 46 |
|
| 47 |
pkg_postinst() {
|
| 48 |
elog "To select between slots of rails, use:"
|
| 49 |
elog "\teselect rails"
|
| 50 |
|
| 51 |
eselect rails update
|
| 52 |
}
|
| 53 |
|
| 54 |
pkg_postrm() {
|
| 55 |
eselect rails update
|
| 56 |
}
|