summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-05 05:02:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-05 05:02:32 +0000
commit5e5cd5e7af5fa7236b847cd6a63bbcb65ccd78a2 (patch)
treee76f4a459fdb81da922b98cc3b38100d494b48ff /games-fps/cube
parentver bump (diff)
downloadgentoo-2-5e5cd5e7af5fa7236b847cd6a63bbcb65ccd78a2.tar.gz
gentoo-2-5e5cd5e7af5fa7236b847cd6a63bbcb65ccd78a2.tar.bz2
gentoo-2-5e5cd5e7af5fa7236b847cd6a63bbcb65ccd78a2.zip
old
Diffstat (limited to 'games-fps/cube')
-rw-r--r--games-fps/cube/cube-20021020-r1.ebuild71
-rw-r--r--games-fps/cube/cube-20021020.ebuild67
-rw-r--r--games-fps/cube/files/digest-cube-200210201
-rw-r--r--games-fps/cube/files/digest-cube-20021020-r12
4 files changed, 0 insertions, 141 deletions
diff --git a/games-fps/cube/cube-20021020-r1.ebuild b/games-fps/cube/cube-20021020-r1.ebuild
deleted file mode 100644
index a54a4a328060..000000000000
--- a/games-fps/cube/cube-20021020-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20021020-r1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
-
-inherit games
-
-MY_P="cube_2002_10_20"
-DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
-HOMEPAGE="http://wouter.fov120.com/cube/"
-SRC_URI="http://ludo.uib.no/cube/${MY_P}.zip
- http://www.idi.ntnu.no/~jonasf/cube/${MY_P}.zip
- http://tunes.org/~eihrul/${MY_P}.zip
- http://tunes.org/~eihrul/enet_2002_10_28.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="x86 ppc"
-
-DEPEND="virtual/opengl
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
- sys-libs/zlib
- media-libs/libpng"
-
-S=${WORKDIR}
-CUBE_DATADIR=${GAMES_DATADIR}/${PN}/
-
-src_unpack() {
- unpack ${A}
-
- cd source
- unzip -qn ${MY_P}_src.zip
-
- # enet_2002_10_28.tar.gz patch
- rm -rf enet
- mv ../enet .
-
- cd src
- patch -p0 < ${FILESDIR}/${P}-add-custom-paths.patch || die
- echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
- echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
- for f in sound worldio ; do
- f="${f}.cpp"
- cp ${f} ${f}.old
- sed -e "s:packages/:${CUBE_DATADIR}packages/:" ${f}.old > ${f}
- done
-
- for f in *.cpp ; do
- cp ${f}{,.old}
- sed -e 's/
-$//' ${f}.old > ${f}
- done
-}
-
-src_compile() {
- cd source/src
- make || die
-}
-
-src_install() {
- dogamesbin source/src/cube_{client,server}
-
- dodir ${CUBE_DATADIR}
- mv *.cfg data packages ${D}/${CUBE_DATADIR}
-
- dodoc source/src/CUBE_TODO.txt
- dohtml -r docs/
-
- prepgamesdirs
-}
diff --git a/games-fps/cube/cube-20021020.ebuild b/games-fps/cube/cube-20021020.ebuild
deleted file mode 100644
index 33bd228198da..000000000000
--- a/games-fps/cube/cube-20021020.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20021020.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
-
-inherit games
-
-MY_P="cube_2002_10_20"
-DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
-HOMEPAGE="http://wouter.fov120.com/cube/"
-SRC_URI="http://ludo.uib.no/cube/${MY_P}.zip
- http://www.idi.ntnu.no/~jonasf/cube/${MY_P}.zip
- http://tunes.org/~eihrul/${MY_P}.zip"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="virtual/opengl
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
- sys-libs/zlib
- media-libs/libpng"
-#RDEPEND=""
-
-S=${WORKDIR}
-CUBE_DATADIR=${GAMES_DATADIR}/${PN}/
-
-src_unpack() {
- unpack ${A}
-
- cd source
- unzip -qn ${MY_P}_src.zip
-
- cd src
- patch -p0 < ${FILESDIR}/${P}-add-custom-paths.patch || die
- echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
- echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
- for f in sound worldio ; do
- f="${f}.cpp"
- cp ${f} ${f}.old
- sed -e "s:packages/:${CUBE_DATADIR}packages/:" ${f}.old > ${f}
- done
-
- for f in *.cpp ; do
- cp ${f}{,.old}
- sed -e 's/ $//' ${f}.old > ${f}
- done
-}
-
-src_compile() {
- cd source/src
- make || die
-}
-
-src_install() {
- dogamesbin source/src/cube_{client,server}
-
- dodir ${CUBE_DATADIR}
- mv *.cfg data packages ${D}/${CUBE_DATADIR}
-
- dodoc source/src/CUBE_TODO.txt
- dohtml -r docs/
-
- prepgamesdirs
-}
diff --git a/games-fps/cube/files/digest-cube-20021020 b/games-fps/cube/files/digest-cube-20021020
deleted file mode 100644
index a6f7c23f4db0..000000000000
--- a/games-fps/cube/files/digest-cube-20021020
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4b08234b81d7bf55e7d289df97c7c949 cube_2002_10_20.zip 9059119
diff --git a/games-fps/cube/files/digest-cube-20021020-r1 b/games-fps/cube/files/digest-cube-20021020-r1
deleted file mode 100644
index 0149ba680ade..000000000000
--- a/games-fps/cube/files/digest-cube-20021020-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 4b08234b81d7bf55e7d289df97c7c949 cube_2002_10_20.zip 9059119
-MD5 a2afc8eca949b84efc1d991be9a89777 enet_2002_10_28.tar.gz 22797