summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-09-06 15:38:52 +0000
committerTristan Heaven <tristan@gentoo.org>2008-09-06 15:38:52 +0000
commitd87bde62242e5c2b08535b11cf396dfd8ae16392 (patch)
tree1243d477d5c589ac964f678ebc288bf9d72349b4 /games-fps/etqw-data
parentrm (diff)
downloadhistorical-d87bde62242e5c2b08535b11cf396dfd8ae16392.tar.gz
historical-d87bde62242e5c2b08535b11cf396dfd8ae16392.tar.bz2
historical-d87bde62242e5c2b08535b11cf396dfd8ae16392.zip
Initial commit, bug #198078
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.3 x86_64
Diffstat (limited to 'games-fps/etqw-data')
-rw-r--r--games-fps/etqw-data/ChangeLog10
-rw-r--r--games-fps/etqw-data/Manifest13
-rw-r--r--games-fps/etqw-data/etqw-data-1.0.ebuild68
-rw-r--r--games-fps/etqw-data/metadata.xml9
4 files changed, 100 insertions, 0 deletions
diff --git a/games-fps/etqw-data/ChangeLog b/games-fps/etqw-data/ChangeLog
new file mode 100644
index 000000000000..dbce309f7083
--- /dev/null
+++ b/games-fps/etqw-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/etqw-data
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-data/ChangeLog,v 1.1 2008/09/06 15:38:52 nyhm Exp $
+
+*etqw-data-1.0 (06 Sep 2008)
+
+ 06 Sep 2008; Tristan Heaven <nyhm@gentoo.org> +metadata.xml,
+ +etqw-data-1.0.ebuild:
+ Initial commit, bug #198078
+
diff --git a/games-fps/etqw-data/Manifest b/games-fps/etqw-data/Manifest
new file mode 100644
index 000000000000..ce058edb86f0
--- /dev/null
+++ b/games-fps/etqw-data/Manifest
@@ -0,0 +1,13 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+EBUILD etqw-data-1.0.ebuild 1444 RMD160 5a2f61e832419cd517457e4d9d45cb361b16d98c SHA1 27ab8f5da384dad65c85622a32844209bf7b9843 SHA256 7aff9b3f8e6e411a052aacb84fce63d68b8d4ba55d51ee368e75a046b129afce
+MISC ChangeLog 358 RMD160 9a49ad7ab569be8f694a0d30a035d79fc55e41ba SHA1 110db8dbfb9730341d94f89c66af8614d4a27d22 SHA256 27e6ac42ef895b7ef1c624ff0141d443aab5699ec64d2b61eea444cd1db02223
+MISC metadata.xml 251 RMD160 06f6da1d444a200da939f3a66efda69e106d437a SHA1 33620e22c3208afee5b6c4641a7fcfe30bfc2009 SHA256 1ee2ce2802a2ce864b396d3300b3a8f7bea466b1280840097c29265e2ad4a7b2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjCpBIACgkQdz7hIScOURG7tQCfXrlazWny+Ofz5wTLwO4xxlZC
+CIUAoPEuAOfDBP+j1FRFnQefSyVi/CK+
+=3fiA
+-----END PGP SIGNATURE-----
diff --git a/games-fps/etqw-data/etqw-data-1.0.ebuild b/games-fps/etqw-data/etqw-data-1.0.ebuild
new file mode 100644
index 000000000000..b4b84aa8cff7
--- /dev/null
+++ b/games-fps/etqw-data/etqw-data-1.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-data/etqw-data-1.0.ebuild,v 1.1 2008/09/06 15:38:52 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Enemy Territory: Quake Wars data files"
+HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
+SRC_URI=""
+
+LICENSE="ETQW"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="videos"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+
+src_unpack() {
+ cdrom_get_cds Setup/Data/base/DEU:Setup/Data/base/POL:Setup/Data/base
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/etqw
+
+ cd "${CDROM_ROOT}"/Setup/Data/base
+ insinto "${dir}"/base
+ doins pak00{0..4}.pk4 || die "doins pak failed"
+ doins -r megatextures || die "doins megatextures failed"
+
+ case ${CDROM_SET} in
+ 0)
+ doins \
+ zpak_english000.pk4 \
+ DEU/zpak_german000.pk4 \
+ ESP/zpak_spanish000.pk4 \
+ FRA/zpak_french000.pk4 \
+ || die "doins zpak failed"
+ ;;
+ 1)
+ doins \
+ POL/zpak_polish000.pk4 \
+ RUS/zpak_russian000.pk4 \
+ || die "doins zpak failed"
+ ;;
+ 2)
+ doins zpak_english000.pk4 || die "doins zpak failed"
+ ;;
+ esac
+
+ if use videos ; then
+ case ${CDROM_SET} in
+ 0|2)
+ doins -r video || die "doins video failed"
+ ;;
+ esac
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ elog "This is just the data portion of the game. You will need to install"
+ elog "games-fps/etqw-bin to play it."
+}
diff --git a/games-fps/etqw-data/metadata.xml b/games-fps/etqw-data/metadata.xml
new file mode 100644
index 000000000000..2f55aed2d76d
--- /dev/null
+++ b/games-fps/etqw-data/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>nyhm@gentoo.org</email>
+ <name>Tristan Heaven</name>
+ </maintainer>
+</pkgmetadata>