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

Diff of /eclass/gems.eclass

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

Revision 1.16 Revision 1.17
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/gems.eclass,v 1.16 2007/01/31 13:46:07 pclouds Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.17 2007/03/05 18:26:20 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
43 43
44gems_src_install() { 44gems_src_install() {
45 gems_location 45 gems_location
46 46
47 if [ -z "${MY_P}" ]; then 47 if [ -z "${MY_P}" ]; then
48 GEM_SRC=${DISTDIR}/${P} 48 [ -z "${GEM_SRC}" ] && GEM_SRC=${DISTDIR}/${P}
49 spec_path=${D}/${GEMSDIR}/specifications/${P}.gemspec 49 spec_path=${D}/${GEMSDIR}/specifications/${P}.gemspec
50 else 50 else
51 GEM_SRC=${DISTDIR}/${MY_P} 51 [ -z "${GEM_SRC}" ] && GEM_SRC=${DISTDIR}/${MY_P}
52 spec_path=${D}/${GEMSDIR}/specifications/${MY_P}.gemspec 52 spec_path=${D}/${GEMSDIR}/specifications/${MY_P}.gemspec
53 fi 53 fi
54 54
55 if use doc; then 55 if use doc; then
56 myconf="--rdoc" 56 myconf="--rdoc"

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20