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

Diff of /eclass/gems.eclass

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

Revision 1.10 Revision 1.11
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.10 2006/12/29 16:56:33 pclouds Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gems.eclass,v 1.11 2006/12/30 16:40:11 pclouds 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
49 else 49 else
50 GEM_SRC=${DISTDIR}/${MY_P} 50 GEM_SRC=${DISTDIR}/${MY_P}
51 spec_path=${D}/${GEMSDIR}/specifications/${MY_P}.gemspec 51 spec_path=${D}/${GEMSDIR}/specifications/${MY_P}.gemspec
52 fi 52 fi
53 53
54 # RI documentation installation: bug #145222
54 if use doc; then 55 if use doc; then
55 myconf="--rdoc" 56 myconf="--rdoc --ri"
56 else 57 else
57 myconf="--no-rdoc" 58 myconf="--no-rdoc --no-ri"
58 fi 59 fi
59 60
60 dodir ${GEMSDIR} 61 dodir ${GEMSDIR}
61 gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed" 62 gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed"
62 63

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20