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

Diff of /eclass/eutils.eclass

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

Revision 1.131 Revision 1.132
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/eutils.eclass,v 1.131 2004/12/26 07:09:59 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.132 2004/12/26 22:23:35 vapier Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
1296 einfo "If you do not have the CD, but have the data files" 1296 einfo "If you do not have the CD, but have the data files"
1297 einfo "mounted somewhere on your filesystem, just export" 1297 einfo "mounted somewhere on your filesystem, just export"
1298 einfo "the variable CD_ROOT so that it points to the" 1298 einfo "the variable CD_ROOT so that it points to the"
1299 einfo "directory containing the files." 1299 einfo "directory containing the files."
1300 echo 1300 echo
1301 einfo "For example:"
1302 einfo "export CD_ROOT=/mnt/cdrom"
1303 echo
1301 else 1304 else
1302 einfo "This package will need access to ${CDROM_TOTAL_CDS} cds." 1305 einfo "This package will need access to ${CDROM_TOTAL_CDS} cds."
1303 cdcnt=0 1306 cdcnt=0
1304 while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do 1307 while [[ ${cdcnt} -lt ${CDROM_TOTAL_CDS} ]] ; do
1305 cdcnt=$((cdcnt + 1)) 1308 cdcnt=$((cdcnt + 1))
1319 echo 1322 echo
1320 einfo "Or, if you have all the files in the same place, or" 1323 einfo "Or, if you have all the files in the same place, or"
1321 einfo "you only have one cdrom, you can export CD_ROOT" 1324 einfo "you only have one cdrom, you can export CD_ROOT"
1322 einfo "and that place will be used as the same data source" 1325 einfo "and that place will be used as the same data source"
1323 einfo "for all the CDs." 1326 einfo "for all the CDs."
1327 echo
1328 einfo "For example:"
1329 einfo "export CD_ROOT_1=/mnt/cdrom"
1324 echo 1330 echo
1325 fi 1331 fi
1326 export CDROM_CURRENT_CD=0 1332 export CDROM_CURRENT_CD=0
1327 cdrom_load_next_cd 1333 cdrom_load_next_cd
1328} 1334}

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

  ViewVC Help
Powered by ViewVC 1.1.20