diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-26 00:27:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-26 00:27:14 +0000 |
commit | 93b888b55a6b9c9c709c67392de7f202dd552994 (patch) | |
tree | 1e024319b7063201534d26e0ff6ed915ab58a135 /games-fps/quake3-data/quake3-data-1.32b.ebuild | |
parent | Version bump. (diff) | |
download | historical-93b888b55a6b9c9c709c67392de7f202dd552994.tar.gz historical-93b888b55a6b9c9c709c67392de7f202dd552994.tar.bz2 historical-93b888b55a6b9c9c709c67392de7f202dd552994.zip |
add support for the linux cd #110425
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'games-fps/quake3-data/quake3-data-1.32b.ebuild')
-rw-r--r-- | games-fps/quake3-data/quake3-data-1.32b.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games-fps/quake3-data/quake3-data-1.32b.ebuild b/games-fps/quake3-data/quake3-data-1.32b.ebuild index 6a4f512a674a..999488d27abd 100644 --- a/games-fps/quake3-data/quake3-data-1.32b.ebuild +++ b/games-fps/quake3-data/quake3-data-1.32b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-data/quake3-data-1.32b.ebuild,v 1.1 2005/10/25 00:44:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-data/quake3-data-1.32b.ebuild,v 1.2 2005/10/26 00:27:14 vapier Exp $ inherit eutils games @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}-3.x86 LICENSE="Q3AEULA" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" +IUSE="cdinstall" RDEPEND="|| ( games-fps/quake3 games-fps/quake3-bin )" @@ -19,7 +19,7 @@ S=${WORKDIR} pkg_setup() { games_pkg_setup - cdrom_get_cds Quake3/baseq3/pak0.pk3 + use cdinstall && cdrom_get_cds baseq3/pak0.pk3:Quake3/baseq3/pak0.pk3 } src_unpack() { @@ -34,9 +34,11 @@ src_install() { doins baseq3/*.pk3 || die "baseq3" eend 0 - einfo "Copying files from CD ..." - doins "${CDROM_ROOT}"/Quake3/baseq3/pak0.pk3 || die "cdrom pak0" - eend 0 + if use cdinstall ; then + einfo "Copying files from CD ..." + doins "${CDROM_ROOT}/${CDROM_MATCH}" || die "cdrom pak0" + eend 0 + fi find "${D}" -exec touch '{}' \; |