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

Diff of /eclass/gems.eclass

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

Revision 1.2 Revision 1.3
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.2 2005/03/31 00:30:02 pythonhead Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gems.eclass,v 1.3 2005/03/31 00:47:05 pythonhead Exp $
4# 4#
5# Author: Rob Cakebread <pythonhead@gentoo.org> 5# Author: Rob Cakebread <pythonhead@gentoo.org>
6# Current Maintainer: Rob Cakebread <pythonhead@gentoo.org> 6# Current Maintainer: Rob Cakebread <pythonhead@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
43gems_src_install() { 43gems_src_install() {
44 gems_location 44 gems_location
45 45
46 if [ -z "${MY_P}" ]; then 46 if [ -z "${MY_P}" ]; then
47 GEM_SRC=${DISTDIR}/${P} 47 GEM_SRC=${DISTDIR}/${P}
48 einfo ${GEM_SRC}
49 else 48 else
50 GEM_SRC=${DISTDIR}/${MY_P} 49 GEM_SRC=${DISTDIR}/${MY_P}
51 einfo ${GEM_SRC}
52 fi 50 fi
53 51
54 dodir ${GEMSDIR} 52 dodir ${GEMSDIR}
55 gem install ${GEM_SRC} -v ${PV} -l -i ${D}/${GEMSDIR} || die "gem install failed" 53 gem install ${GEM_SRC} -v ${PV} -l -i ${D}/${GEMSDIR} || die "gem install failed"
56 54

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20