/[gentoo-x86]/eclass/gems.eclass
Gentoo

Diff of /eclass/gems.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gems.eclass,v 1.20 2008/01/16 05:52:20 nichoj Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gems.eclass,v 1.21 2008/02/17 08:49:19 rbrown Exp $
4# 4#
5# Author: Rob Cakebread <pythonhead@gentoo.org> 5# Author: Rob Cakebread <pythonhead@gentoo.org>
6# Current Maintainer: Ruby Herd <ruby@gentoo.org> 6# Current Maintainer: Ruby Herd <ruby@gentoo.org>
7# 7#
8# The gems eclass is designed to allow easier installation of 8# The gems eclass is designed to allow easier installation of
23 23
24SRC_URI="http://gems.rubyforge.org/gems/${P}.gem" 24SRC_URI="http://gems.rubyforge.org/gems/${P}.gem"
25 25
26IUSE="doc" 26IUSE="doc"
27 27
28DEPEND="
28DEPEND=">=dev-ruby/rubygems-0.9.4 29 >=dev-ruby/rubygems-0.9.4
29 !dev-ruby/rdoc" 30 !dev-ruby/rdoc
31"
32RDEPEND="${DEPEND}"
30 33
31gems_location() { 34gems_location() {
32 local sitelibdir 35 local sitelibdir
33 sitelibdir=$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]') 36 sitelibdir=$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
34 export GEMSDIR=${sitelibdir/site_ruby/gems} 37 export GEMSDIR=${sitelibdir/site_ruby/gems}

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20