/[gentoo-x86]/dev-ruby/rubygems/rubygems-0.8.11-r2.ebuild
Gentoo

Contents of /dev-ruby/rubygems/rubygems-0.8.11-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Feb 22 18:55:38 2006 UTC (13 years, 1 month ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
I think this fixes the rubygems issues that have been plaguing me
(Portage version: 2.1_pre4-r1)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.8.11-r2.ebuild,v 1.1 2006/01/02 22:37:11 caleb Exp $
4
5 inherit ruby
6
7 DESCRIPTION="Centralized Ruby extension management system"
8 HOMEPAGE="http://rubyforge.org/projects/rubygems/"
9 LICENSE="Ruby"
10
11 # The URL depends implicitly on the version, unfortunately. Even if you
12 # change the filename on the end, it still downloads the same file.
13 SRC_URI="http://rubyforge.org/frs/download.php/5207/${P}.tgz"
14
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~ppc-macos ~sparc ~x86"
16 SLOT="0"
17 IUSE=""
18 DEPEND=">=dev-lang/ruby-1.8"
19 PATCHES="${FILESDIR}/no_post_install.patch"
20 USE_RUBY="ruby18"
21
22 src_compile() {
23 return
24 }
25
26 src_install() {
27 ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]')
28 GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install
29 keepdir /usr/lib/ruby/gems/$ver/doc
30 }

  ViewVC Help
Powered by ViewVC 1.1.20