# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.0.0.ebuild,v 1.7 2006/06/02 13:28:16 flameeyes Exp $ inherit ruby gems USE_RUBY="ruby18" DESCRIPTION="ruby on rails is a web-application and persistance framework" HOMEPAGE="http://www.rubyonrails.org" # The URL depends implicitly on the version, unfortunately. Even if you # change the filename on the end, it still downloads the same file. SRC_URI="http://gems.rubyforge.org/gems/${P}.gem" LICENSE="Ruby" SLOT="0" KEYWORDS="~amd64 ppc sparc x86" IUSE="mysql sqlite postgres fastcgi" DEPEND=">=dev-lang/ruby-1.8.2 >=dev-ruby/rake-0.6.2 =dev-ruby/activerecord-1.13* =dev-ruby/actionmailer-1.1* =dev-ruby/actionwebservice-1.0* fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 ) sqlite? ( >=dev-ruby/sqlite-ruby-2.2.2 ) mysql? ( >=dev-ruby/mysql-ruby-2.7 ) postgres? ( >=dev-ruby/ruby-postgres-0.7.1 )" src_install() { gems_src_install # gems extract and install the data all in one step, so we have to patch it # here, it's not compiled anyway cd "${D}/${GEMSDIR}/gems/" epatch "${FILESDIR}/${P}-rdoc-rake-0.7.patch" }