summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-24 17:48:41 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-24 17:48:41 +0000
commita7ce2b25b892587de5ebffe019cbf9ccc33b6134 (patch)
tree082ce5f8527e7ce1f95e865917a86a3dc9c74504 /games-fps/rtcwsp-demo
parentAdded metadata.xml. (diff)
downloadgentoo-2-a7ce2b25b892587de5ebffe019cbf9ccc33b6134.tar.gz
gentoo-2-a7ce2b25b892587de5ebffe019cbf9ccc33b6134.tar.bz2
gentoo-2-a7ce2b25b892587de5ebffe019cbf9ccc33b6134.zip
Initial import. Ebuild by Alexander Nicolaysen Sornes <alex@thehandofagony.com>. Closing bug #115778.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-fps/rtcwsp-demo')
-rw-r--r--games-fps/rtcwsp-demo/ChangeLog11
-rw-r--r--games-fps/rtcwsp-demo/Manifest3
-rw-r--r--games-fps/rtcwsp-demo/files/digest-rtcwsp-demo-1.1b1
-rw-r--r--games-fps/rtcwsp-demo/metadata.xml9
-rw-r--r--games-fps/rtcwsp-demo/rtcwsp-demo-1.1b.ebuild64
5 files changed, 88 insertions, 0 deletions
diff --git a/games-fps/rtcwsp-demo/ChangeLog b/games-fps/rtcwsp-demo/ChangeLog
new file mode 100644
index 000000000000..f38912a717f5
--- /dev/null
+++ b/games-fps/rtcwsp-demo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-fps/rtcwsp-demo
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwsp-demo/ChangeLog,v 1.1 2006/01/24 17:48:41 wolf31o2 Exp $
+
+*rtcwsp-demo-1.1b (24 Jan 2006)
+
+ 24 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +rtcwsp-demo-1.1b.ebuild:
+ Initial import. Ebuild by Alexander Nicolaysen Sornes
+ <alex@thehandofagony.com>. Closing bug #115778.
+
diff --git a/games-fps/rtcwsp-demo/Manifest b/games-fps/rtcwsp-demo/Manifest
new file mode 100644
index 000000000000..3328fa0b8162
--- /dev/null
+++ b/games-fps/rtcwsp-demo/Manifest
@@ -0,0 +1,3 @@
+MD5 9f57f88954584d71dbacc353ff41ae9d files/digest-rtcwsp-demo-1.1b 77
+MD5 58573034ad065cf36d097c6249c8e977 metadata.xml 300
+MD5 cf6381d0e0d7ca37ef6036a937ca089e rtcwsp-demo-1.1b.ebuild 1355
diff --git a/games-fps/rtcwsp-demo/files/digest-rtcwsp-demo-1.1b b/games-fps/rtcwsp-demo/files/digest-rtcwsp-demo-1.1b
new file mode 100644
index 000000000000..aadf7f8d9c2f
--- /dev/null
+++ b/games-fps/rtcwsp-demo/files/digest-rtcwsp-demo-1.1b
@@ -0,0 +1 @@
+MD5 a57af94a9399b04e1588a9eafd9aeb49 wolfspdemo-linux-1.1b.x86.run 117813349
diff --git a/games-fps/rtcwsp-demo/metadata.xml b/games-fps/rtcwsp-demo/metadata.xml
new file mode 100644
index 000000000000..9d3fe203e572
--- /dev/null
+++ b/games-fps/rtcwsp-demo/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>
+<longdescription>
+The sequel to id Software's classic Wolfenstein 3-D. This version of the demo
+is only for single-player.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b.ebuild
new file mode 100644
index 000000000000..393324e71b67
--- /dev/null
+++ b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Header: $
+
+inherit eutils games
+
+MY_P="wolfspdemo-linux-${PV}.x86.run"
+
+DESCRIPTION="Return to Castle Wolfenstein - Single-player demo"
+HOMEPAGE="http://games.activision.com/games/wolfenstein/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/wolf/linux/old/${MY_P}
+ mirror://3dgamers/returnwolfenstein/${MY_P}"
+
+LICENSE="RTCW"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="nostrip nomirror"
+
+RDEPEND="sys-libs/glibc
+ virtual/opengl
+ || (
+ (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXau
+ x11-libs/libXdmcp )
+ virtual/x11 )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs )"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+src_unpack() {
+ unpack_makeself ${A} || die "Unpacking files"
+}
+
+src_install() {
+ insinto "${dir}"
+ doins -r demomain Docs
+
+ exeinto "${dir}"
+ doexe bin/x86/wolfsp.x86 openurl.sh || die "copying exe"
+
+ games_make_wrapper rtcwmp-demo ./wolfsp.x86 "${dir}" "${dir}"
+
+ doins WolfSP.xpm CHANGES
+ newicon WolfSP.xpm rtcwsp-demo.xpm
+
+ prepgamesdirs
+ make_desktop_entry rtcwsp-demo "Return to Castle Wolfenstein (SP demo)" \
+ rtcwsp-demo.xpm
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "Install 'rtcwmp-demo' for multi-player"
+ echo
+ einfo "Run 'rtcwmp-demo' for single-player"
+}