summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-21 08:54:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-21 08:54:26 +0000
commitbd429c7bb460a18bbccef5ca0997fe3bf679b6af (patch)
tree391f217f3d0e37e7333b7dcb591675e186fb87ff /games-fps/imaze
parentapp-accessibility/eflite (diff)
downloadhistorical-bd429c7bb460a18bbccef5ca0997fe3bf679b6af.tar.gz
historical-bd429c7bb460a18bbccef5ca0997fe3bf679b6af.tar.bz2
historical-bd429c7bb460a18bbccef5ca0997fe3bf679b6af.zip
initial commit; ebuild submitted by Octavio Ruiz via bug 36913
Diffstat (limited to 'games-fps/imaze')
-rw-r--r--games-fps/imaze/ChangeLog10
-rw-r--r--games-fps/imaze/Manifest4
-rw-r--r--games-fps/imaze/files/digest-imaze-1.41
-rw-r--r--games-fps/imaze/imaze-1.4.ebuild59
-rw-r--r--games-fps/imaze/metadata.xml5
5 files changed, 79 insertions, 0 deletions
diff --git a/games-fps/imaze/ChangeLog b/games-fps/imaze/ChangeLog
new file mode 100644
index 000000000000..8d3042ef1130
--- /dev/null
+++ b/games-fps/imaze/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/imaze
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/imaze/ChangeLog,v 1.1 2004/03/21 08:54:26 mr_bones_ Exp $
+
+*imaze-1.4 (21 Mar 2004)
+
+ 21 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> imaze-1.4.ebuild,
+ metadata.xml:
+ initial commit; ebuild submitted by Octavio Ruiz via bug 36913
+
diff --git a/games-fps/imaze/Manifest b/games-fps/imaze/Manifest
new file mode 100644
index 000000000000..5318f5067d79
--- /dev/null
+++ b/games-fps/imaze/Manifest
@@ -0,0 +1,4 @@
+MD5 11141aadc976e7e66f3426b7e376a225 imaze-1.4.ebuild 1468
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 9ec3a8ec87c2fd42e269c28787480095 ChangeLog 396
+MD5 a4097f88d109a861c56479f6ba7e8537 files/digest-imaze-1.4 61
diff --git a/games-fps/imaze/files/digest-imaze-1.4 b/games-fps/imaze/files/digest-imaze-1.4
new file mode 100644
index 000000000000..7b1cc88811e5
--- /dev/null
+++ b/games-fps/imaze/files/digest-imaze-1.4
@@ -0,0 +1 @@
+MD5 359cd8e072bfd7e51acafc1f106b9ea0 imaze-1.4.tar.gz 649705
diff --git a/games-fps/imaze/imaze-1.4.ebuild b/games-fps/imaze/imaze-1.4.ebuild
new file mode 100644
index 000000000000..e72959bc7b5d
--- /dev/null
+++ b/games-fps/imaze/imaze-1.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/imaze/imaze-1.4.ebuild,v 1.1 2004/03/21 08:54:26 mr_bones_ Exp $
+
+inherit games
+
+S="${WORKDIR}/${P}/source"
+DESCRIPTION="Multi player, real time, 3D, labyrinth, run & shoot game"
+HOMEPAGE="http://home.tu-clausthal.de/student/iMaze/"
+SRC_URI="http://home.tu-clausthal.de/student/iMaze/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X Xaw3d joystick"
+
+RDEPEND="virtual/x11
+ virtual/glibc
+ || (
+ Xaw3d? ( x11-libs/Xaw3d )
+ x11-libs/xview
+ )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e s:'DEFINES=-DDEFAULT_SOUND_DIR=\\"`pwd`/../sounds\\"':\
+'DEFINES=-DDEFAULT_SERVER=\\"localhost\\" -DDEFAULT_SOUND_DIR=\\"${GAMES_DATADIR}/${PN}/sounds\\"': Makefile.in \
+ || die "src_unpack failed"
+}
+
+src_compile() {
+ local myconf="audio"
+
+ use Xaw3d \
+ && myconf="${myconf} athena" \
+ || myconf="${myconf} xview"
+
+ use joystick \
+ && myconf="${myconf} joystick" \
+ || myconf="${myconf} nojoystick"
+
+ # not an autoconf script.
+ ./configure ${myconf} || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin genlab imaze imazesrv imazestat ninja xlabed \
+ || die "dogamesbin failed"
+ dodoc ../README
+ doman ../man6/*6
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r ../labs/ ../sounds/ "${D}${GAMES_DATADIR}/${PN}/"
+ prepgamesdirs
+}
diff --git a/games-fps/imaze/metadata.xml b/games-fps/imaze/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-fps/imaze/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>