diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-03-11 02:26:22 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-03-11 02:26:22 +0000 |
commit | a73a4d78856c382e3ea3e4a5a720ced927e370e9 (patch) | |
tree | d262ec57b84b696f8795f4553d571ece86f0113a /games-strategy | |
parent | gcc-3.3.2 also have fpmath bug with sse #44033 (diff) | |
download | gentoo-2-a73a4d78856c382e3ea3e4a5a720ced927e370e9.tar.gz gentoo-2-a73a4d78856c382e3ea3e4a5a720ced927e370e9.tar.bz2 gentoo-2-a73a4d78856c382e3ea3e4a5a720ced927e370e9.zip |
Initial import. Ebuild submitted by Pol <blenderman@tiscali.be>. Closing bug #42418.
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/ufo-ai/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/ufo-ai/Manifest | 3 | ||||
-rw-r--r-- | games-strategy/ufo-ai/files/0.10.040218-Makefile.patch | 35 | ||||
-rw-r--r-- | games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 | 2 | ||||
-rw-r--r-- | games-strategy/ufo-ai/metadata.xml | 5 | ||||
-rw-r--r-- | games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild | 48 |
6 files changed, 104 insertions, 0 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog new file mode 100644 index 000000000000..64cb66cb9eaf --- /dev/null +++ b/games-strategy/ufo-ai/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-strategy/ufo-ai +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.1 2004/03/11 02:26:22 wolf31o2 Exp $ + +*ufo-ai-0.10.040218 (10 Mar 2004) + + 10 Mar 2004; Chris Gianelloni <wolf31o2@gentoo.org> + ufo-ai-0.10.040218.ebuild, files/0.10.040218-Makefile.patch: + Initial import. Ebuild submitted by Pol <blenderman@tiscali.be>. Closing bug + #42418. + diff --git a/games-strategy/ufo-ai/Manifest b/games-strategy/ufo-ai/Manifest new file mode 100644 index 000000000000..b16eee6b8231 --- /dev/null +++ b/games-strategy/ufo-ai/Manifest @@ -0,0 +1,3 @@ +MD5 435190466b5708f71fc1bc16fd43a11c ufo-ai-0.10.040218.ebuild 945 +MD5 1d3e244409fa8c09b2b88c4a9ee455bd files/0.10.040218-Makefile.patch 1221 +MD5 741c23ff1ac99c9aaf9ffead77cf26c4 files/digest-ufo-ai-0.10.040218 135 diff --git a/games-strategy/ufo-ai/files/0.10.040218-Makefile.patch b/games-strategy/ufo-ai/files/0.10.040218-Makefile.patch new file mode 100644 index 000000000000..bb0b47492da3 --- /dev/null +++ b/games-strategy/ufo-ai/files/0.10.040218-Makefile.patch @@ -0,0 +1,35 @@ +--- Makefile.orig 2004-02-18 16:37:38.000000000 -0500 ++++ Makefile 2004-03-07 00:56:10.980247752 -0500 +@@ -54,8 +54,8 @@ + RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops \ + -fomit-frame-pointer -fexpensive-optimizations + else +-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mcpu=pentiumpro -O6 -ffast-math -funroll-loops \ +- -fomit-frame-pointer -fexpensive-optimizations ++RELEASE_CFLAGS=-ffast-math -funroll-loops $(BASE_CFLAGS) ++# -fomit-frame-pointer -fexpensive-optimizations + endif + + DEBUG_CFLAGS=$(BASE_CFLAGS) -g +@@ -64,9 +64,9 @@ + XLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lXxf86dga + XCFLAGS= + +-GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lX11 -lXext -lm -ljpeg +-GLXLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lm -ljpeg +-GLCFLAGS=-I$(MESA_DIR)/include -I/usr/include/glide ++GLLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lm -ljpeg ++GLXLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lm -ljpeg ++#GLCFLAGS=-I$(MESA_DIR)/include -I/usr/include/glide + + SHLIBEXT=so + +@@ -100,6 +100,8 @@ + $(BUILDDIR)/ref_gl.$(SHLIBEXT) + endif + ++RELEASE_CFLAGS += $(OPTCFLAGS) ++ + build_debug: + @-mkdir $(BUILD_DEBUG_DIR) \ + $(BUILD_DEBUG_DIR)/client \ diff --git a/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 b/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 new file mode 100644 index 000000000000..11d6b4c14b42 --- /dev/null +++ b/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 @@ -0,0 +1,2 @@ +MD5 f3c979d24ebeb06d7bafa32d9aebab24 ufoai_source_040218.zip 1548520 +MD5 52021c8dd7cbbe4e5af5039c3da60485 linux_ufoaidemo.zip 30745560 diff --git a/games-strategy/ufo-ai/metadata.xml b/games-strategy/ufo-ai/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-strategy/ufo-ai/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> diff --git a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild new file mode 100644 index 000000000000..afca1a2002e5 --- /dev/null +++ b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild,v 1.1 2004/03/11 02:26:22 wolf31o2 Exp $ + +inherit games + +DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game" +SRC_URI="http://n.ethz.ch/student/dbeyeler/download/ufoai_source_040218.zip + http://people.ee.ethz.ch/~baepeter/linux_ufoaidemo.zip" +HOMEPAGE="http://ufo.myexp.de/" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="virtual/glibc + virtual/x11 + media-libs/jpeg + media-libs/libvorbis + media-libs/libogg" + +src_unpack() { + unpack ${A} + cd source/linux + epatch ${FILESDIR}/${PV}-Makefile.patch +} + +src_compile() { + cd source/linux + make build_release \ + OPTCFLAGS="${CFLAGS}" \ + || die "make failed" + cd ../.. +} + +src_install() { + dodir ${GAMES_DATADIR}/${PN} + cp -rf ufo/* ${D}${GAMES_DATADIR}/${PN} + cd source/linux/releasei386-glibc + exeinto ${GAMES_DATADIR}/${PN} + doexe ref_gl.so ref_glx.so ufo + exeinto ${GAMES_DATADIR}/${PN}/base + doexe gamei386.so + games_make_wrapper ufo-ai ./ufo ${GAMES_DATADIR}/${PN} + prepgamesdirs +} + |