Initial import. Ebuilds by me. Closing bug #109825.
authorChris Gianelloni <wolf31o2@gentoo.org>
Mon, 24 Oct 2005 18:52:33 +0000 (18:52 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Mon, 24 Oct 2005 18:52:33 +0000 (18:52 +0000)
Package-Manager: portage-2.0.53_rc5

games-fps/quake4-data/ChangeLog [new file with mode: 0644]
games-fps/quake4-data/Manifest [new file with mode: 0644]
games-fps/quake4-data/files/digest-quake4-data-1.0.2147.12 [new file with mode: 0644]
games-fps/quake4-data/metadata.xml [new file with mode: 0644]
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild [new file with mode: 0644]

diff --git a/games-fps/quake4-data/ChangeLog b/games-fps/quake4-data/ChangeLog
new file mode 100644 (file)
index 0000000..d7aa805
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/quake4-data
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-data/ChangeLog,v 1.1 2005/10/24 18:52:33 wolf31o2 Exp $
+
+*quake4-data-1.0.2147.12 (24 Oct 2005)
+
+  24 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+  +quake4-data-1.0.2147.12.ebuild:
+  Initial import.  Ebuilds by me.  Closing bug #109825.
+
diff --git a/games-fps/quake4-data/Manifest b/games-fps/quake4-data/Manifest
new file mode 100644 (file)
index 0000000..ce80bce
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 47b104d6c63fca7aa83aae57cf7102c2 ChangeLog 418
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-quake4-data-1.0.2147.12 0
+MD5 67bc63233267502c576573939ca95ae9 metadata.xml 1046
+MD5 e129747afc8d856ec64ae45e664fad29 quake4-data-1.0.2147.12.ebuild 1520
diff --git a/games-fps/quake4-data/files/digest-quake4-data-1.0.2147.12 b/games-fps/quake4-data/files/digest-quake4-data-1.0.2147.12
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/games-fps/quake4-data/metadata.xml b/games-fps/quake4-data/metadata.xml
new file mode 100644 (file)
index 0000000..c833f8d
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription>
+In a desparate war for Earth's survival against and unrelenting alient enemy,
+the only way to defeat them is to become one of them.
+
+Earth is under seige by the Strogg, a barbaric alien race moving through the
+universe consuming, recycling and annihilating any civilization in their path.
+In a deperate attempt to survive, an armada of Earth's finest warriors is sent
+to take the battle to the Strogg home planet.
+
+You are Matthow Kane, an elite member of Rhino Squad and Eath's valiant invasion
+force.  Fight alone, with your squad, or in hover tanks and mechanized walkers
+as you engage in a heroic mission the the heart of the Strogg war machine.
+
+Quake 4 is the fourth installment of the extremely popular and successful Quake
+series by id software.  This game is commercial software, and requires the data
+from a retail copy of the game to play.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild b/games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild
new file mode 100644 (file)
index 0000000..315e907
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild,v 1.1 2005/10/24 18:52:33 wolf31o2 Exp $
+
+inherit eutils games
+
+DESCRIPTION="sequel to Quake 2, an id 3D first-person shooter"
+HOMEPAGE="http://www.quake4game.com/"
+SRC_URI=""
+
+LICENSE="QUAKE4"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE=""
+RESTRICT="nostrip"
+
+DEPEND="app-arch/bzip2
+       app-arch/tar"
+RDEPEND="games-fps/quake4-bin"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/quake4
+Ddir=${D}/${dir}
+
+pkg_setup() {
+       games_pkg_setup
+       cdrom_get_cds Setup/Data/q4base/pak012.pk4 \
+               Setup/Data/q4base/pak001.pk4 \
+               Setup/Data/q4base/pak004.pk4 \
+               Setup/Data/q4base/pak007.pk4 
+}
+
+src_install() {
+       insinto "${dir}"/q4base
+       einfo "Copying files from Disk 1..."
+       doins ${CDROM_ROOT}/Setup/Data/q4base/pak01{0,1,2}.pk4 \
+               ${CDROM_ROOT}/Setup/Data/q4base/zpak*.pk4 \
+               || die "copying pak010->pak012 and zpack*"
+       cdrom_load_next_cd
+       einfo "Copying files from Disk 2..."
+       doins ${CDROM_ROOT}/Setup/Data/q4base/pak00{1,2,3}.pk4 \
+               || die "copying pak001->pak003"
+       cdrom_load_next_cd
+       einfo "Copying files from Disk 3..."
+       doins ${CDROM_ROOT}/Setup/Data/q4base/pak00{4,5,6}.pk4 \
+               || die "copying pak004->pak006"
+       cdrom_load_next_cd
+       einfo "Copying files from Disk 4..."
+       doins ${CDROM_ROOT}/Setup/Data/q4base/pak00{7,8,9}.pk4 \
+               || die "copying pak007->pak009"
+
+       find ${Ddir} -exec touch '{}' \;
+
+       prepgamesdirs
+}