# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.2.6-r1.ebuild,v 1.7 2009/01/10 16:36:32 armin76 Exp $ inherit ruby gems DESCRIPTION="ruby on rails is a web-application and persistance framework" HOMEPAGE="http://www.rubyonrails.org" LICENSE="MIT" SLOT="1.2" KEYWORDS="amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="mysql sqlite sqlite3 postgres fastcgi" DEPEND=">=dev-lang/ruby-1.8.5 >=app-admin/eselect-rails-0.14 >=dev-ruby/rake-0.7.2 =dev-ruby/activerecord-1.15.6 =dev-ruby/actionmailer-1.3.6 =dev-ruby/actionwebservice-1.2.6 =dev-ruby/activesupport-1.4.4 =dev-ruby/actionpack-1.13.6 != 0/${PV}/" "${D}/usr/bin/rails-${PV}" mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}" } pkg_postinst() { einfo "To select between slots of rails, use:" einfo "\teselect rails" eselect rails update } pkg_postrm() { eselect rails update }