| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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/cdrom.eclass,v 1.1 2012/01/13 20:23:06 ulm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/cdrom.eclass,v 1.2 2012/01/13 22:35:16 ulm Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: cdrom.eclass |
5 | # @ECLASS: cdrom.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # games@gentoo.org |
7 | # games@gentoo.org |
| 8 | # @BLURB: Functions for CD-ROM handling |
8 | # @BLURB: Functions for CD-ROM handling |
| … | |
… | |
| 17 | |
17 | |
| 18 | if [[ -z ${___ECLASS_ONCE_CDROM} ]]; then |
18 | if [[ -z ${___ECLASS_ONCE_CDROM} ]]; then |
| 19 | ___ECLASS_ONCE_CDROM=1 |
19 | ___ECLASS_ONCE_CDROM=1 |
| 20 | |
20 | |
| 21 | inherit portability |
21 | inherit portability |
| 22 | |
|
|
| 23 | PROPERTIES="interactive" |
|
|
| 24 | |
22 | |
| 25 | # @FUNCTION: cdrom_get_cds |
23 | # @FUNCTION: cdrom_get_cds |
| 26 | # @USAGE: <file on cd1> [file on cd2] [file on cd3] [...] |
24 | # @USAGE: <file on cd1> [file on cd2] [file on cd3] [...] |
| 27 | # @DESCRIPTION: |
25 | # @DESCRIPTION: |
| 28 | # The function will attempt to locate a cd based upon a file that is on |
26 | # The function will attempt to locate a cd based upon a file that is on |