summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-12-04 14:27:51 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-12-04 14:27:51 +0000
commit2e399e28081af0c6d1d0138033c10a1d62fb5b89 (patch)
treebd845e7768c3a09d068595416041c3a2016d9b07 /games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild
parentInitial import. Fixes #63296. (Manifest recommit) (diff)
downloadgentoo-2-2e399e28081af0c6d1d0138033c10a1d62fb5b89.tar.gz
gentoo-2-2e399e28081af0c6d1d0138033c10a1d62fb5b89.tar.bz2
gentoo-2-2e399e28081af0c6d1d0138033c10a1d62fb5b89.zip
Bumped to latest Linux patch and closing bug #73228.
Diffstat (limited to 'games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild')
-rw-r--r--games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild b/games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild
new file mode 100644
index 000000000000..3fb7a6af4803
--- /dev/null
+++ b/games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-demo/doom3-demo-1.1.1286.ebuild,v 1.1 2004/12/04 14:27:51 wolf31o2 Exp $
+
+inherit games eutils
+
+DESCRIPTION="Doom III - 3rd installment of the classic id 3D first-person shooter"
+HOMEPAGE="http://www.doom3.com/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-${PV}-demo.x86.run
+ ftp://dl.xs4all.nl/pub/mirror/idsoftware/idstuff/doom3/linux/doom3-linux-${PV}-demo.x86.run
+ mirror://gentoo/doom3.png"
+
+LICENSE="DOOM3"
+SLOT="0"
+KEYWORDS="-* x86 amd64"
+IUSE="opengl dedicated"
+RESTRICT="nostrip nomirror"
+
+DEPEND="app-arch/bzip2
+ app-arch/tar"
+RDEPEND="virtual/libc
+ opengl? ( virtual/opengl )
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ check_license
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself doom3-linux-${PV}-demo.x86.run
+}
+
+src_install() {
+ dodir ${dir}
+
+ insinto ${dir}
+ doins License.txt README version.info
+ exeinto ${dir}
+ doexe gamex86.so libgcc_s.so.1 libstdc++.so.5 || die "doexe libs"
+ if use amd64; then
+ doexe bin/Linux/amd64/doom.x86 || die "doexe doom.x86"
+ elif use x86; then
+ doexe bin/Linux/x86/doom.x86 || die "doexe doom"
+ else
+ die "Platform not supported"
+ fi
+
+ insinto ${dir}/demo
+ doins demo/* || die "doins base"
+
+ games_make_wrapper doom3-demo ./doom.x86 ${dir}
+
+ insinto /usr/share/pixmaps
+ newins ${DISTDIR}/doom3.png doom3-demo.png
+
+ prepgamesdirs
+ make_desktop_entry doom3-demo "Doom III Demo" doom3-demo.png
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ einfo "To play the game run:"
+ einfo " doom3-demo"
+}