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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 17 23:23:16 2006 UTC (13 years ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.1_pre7-r5)

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-r3.ebuild,v 1.2 2006/02/22 18:17:17 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 >=dev-ruby/ruby-config-0.3.2"
20
21 PATCHES="${FILESDIR}/no_post_install.patch"
22 USE_RUBY="ruby18"
23
24 src_compile() {
25 return
26 }
27
28 src_install() {
29 ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]')
30 GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install
31 keepdir /usr/lib/ruby/gems/$ver/doc
32 }

  ViewVC Help
Powered by ViewVC 1.1.20