summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-11-01 22:52:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-11-01 22:52:05 +0000
commitf929493f1c33b25de2fa8d9b94ccae58cc040c62 (patch)
tree44a71d5a0ada21fa97838d4e95ef2dca6a5739a9 /games-action
parentStable on x86 wrt bug #111108. (diff)
downloadgentoo-2-f929493f1c33b25de2fa8d9b94ccae58cc040c62.tar.gz
gentoo-2-f929493f1c33b25de2fa8d9b94ccae58cc040c62.tar.bz2
gentoo-2-f929493f1c33b25de2fa8d9b94ccae58cc040c62.zip
old
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/d2x/d2x-0.2.5.ebuild71
-rw-r--r--games-action/d2x/files/digest-d2x-0.2.52
2 files changed, 0 insertions, 73 deletions
diff --git a/games-action/d2x/d2x-0.2.5.ebuild b/games-action/d2x/d2x-0.2.5.ebuild
deleted file mode 100644
index bf5fbf89c5c0..000000000000
--- a/games-action/d2x/d2x-0.2.5.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d2x/d2x-0.2.5.ebuild,v 1.8 2005/01/09 10:48:13 swegener Exp $
-
-inherit flag-o-matic eutils games
-
-DATAFILE="d2shar10"
-DESCRIPTION="Descent 2"
-HOMEPAGE="http://icculus.org/d2x/"
-SRC_URI="http://icculus.org/d2x/src/${P}.tar.gz
- http://icculus.org/d2x/data/${DATAFILE}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE="debug opengl ggi svga"
-
-RDEPEND="media-libs/libsdl
- media-libs/sdl-image
- opengl? ( virtual/opengl )
- ggi? ( media-libs/libggi )
- svga? ( media-libs/svgalib )"
-DEPEND="${RDEPEND}
- x86? ( dev-lang/nasm )"
-
-src_unpack() {
- unpack ${A}
- cd ${DATAFILE}
- rm *.{exe,bat}
- cd ${S}
- epatch ${FILESDIR}/${PV}-shellscripts.patch
-}
-
-src_compile() {
- # --disable-network --enable-console
- local myconf="$(use_enable x86 assembler)"
- use debug \
- && debugconf="${myconf} --enable-debug --disable-release" \
- || debugconf="${myconf} --disable-debug --enable-release"
- # we do this because each of the optional guys define the same functions
- # in gr, thus when they go to link they cause redefine errors ...
- # we build each by it self, save the binary file, clean up, and start over
- mkdir my-bins
- for ren in sdl $(useq opengl && echo opengl) \
- $(useq svga && echo svga) $(useq ggi && echo ggi)
- do
- [ "${ren}" == "sdl" ] \
- && renconf="" \
- || renconf="--with-${ren}"
- [ "${ren}" == "svga" ] \
- && defflags="-DSVGALIB_INPUT" \
- || defflags=""
- make distclean
- egamesconf \
- ${myconf} \
- ${renconf} \
- --datadir=${GAMES_DATADIR_BASE} \
- || die "conf ${ren}"
- emake CXXFLAGS="${CXXFLAGS} ${defflags}" || die "build ${ren}"
- mv d2x* my-bins/
- done
-}
-
-src_install() {
- make install DESTDIR=${D} || die
- dogamesbin my-bins/*
- dodir ${GAMES_DATADIR}/${PN}
- cp -r ${WORKDIR}/${DATAFILE}/* ${D}/${GAMES_DATADIR}/${PN}/
- dodoc AUTHORS ChangeLog NEWS README* TODO readme.txt
- prepgamesdirs
-}
diff --git a/games-action/d2x/files/digest-d2x-0.2.5 b/games-action/d2x/files/digest-d2x-0.2.5
deleted file mode 100644
index 3bae26d927d8..000000000000
--- a/games-action/d2x/files/digest-d2x-0.2.5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 79474db1ff4f0ae1fb76d691701cc560 d2x-0.2.5.tar.gz 2015249
-MD5 1b952cc4a4419e24d230589027d73490 d2shar10.tar.gz 4311406