diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-06 23:27:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-06 23:27:54 +0000 |
commit | 28a23351d629fdd9f8bcd705990191bfe257021b (patch) | |
tree | 8fdecde22c3f01a8f76a8ca1b7cc0eb484772de4 /games-arcade/holotz-castle | |
parent | Fix label that showed english as eng instead of en #91740 by Prof. Jonathan K... (diff) | |
download | gentoo-2-28a23351d629fdd9f8bcd705990191bfe257021b.tar.gz gentoo-2-28a23351d629fdd9f8bcd705990191bfe257021b.tar.bz2 gentoo-2-28a23351d629fdd9f8bcd705990191bfe257021b.zip |
initial import #81711
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'games-arcade/holotz-castle')
-rw-r--r-- | games-arcade/holotz-castle/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/holotz-castle/Manifest | 3 | ||||
-rw-r--r-- | games-arcade/holotz-castle/files/digest-holotz-castle-1.3.6 | 1 | ||||
-rw-r--r-- | games-arcade/holotz-castle/files/holotz-castle-1.3.6-build.patch | 39 | ||||
-rw-r--r-- | games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild | 43 | ||||
-rw-r--r-- | games-arcade/holotz-castle/metadata.xml | 5 |
6 files changed, 99 insertions, 0 deletions
diff --git a/games-arcade/holotz-castle/ChangeLog b/games-arcade/holotz-castle/ChangeLog new file mode 100644 index 000000000000..a71f049cc348 --- /dev/null +++ b/games-arcade/holotz-castle/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-arcade/holotz-castle +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/ChangeLog,v 1.1 2005/05/06 23:27:54 vapier Exp $ + +*holotz-castle-1.3.6 (06 May 2005) + + 06 May 2005; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Anthony Thompson #81711. diff --git a/games-arcade/holotz-castle/Manifest b/games-arcade/holotz-castle/Manifest new file mode 100644 index 000000000000..c00bf8041ecf --- /dev/null +++ b/games-arcade/holotz-castle/Manifest @@ -0,0 +1,3 @@ +MD5 a68139d0c283c1f3faa525fb940a4bf7 holotz-castle-1.3.6.ebuild 484 +MD5 a2b273b782b51014156dc6d58b87ff39 attachment.cgi?id=51341 1146 +MD5 ad80666870059c513ed0762261efb323 files/digest-holotz-castle-1.3.6 76 diff --git a/games-arcade/holotz-castle/files/digest-holotz-castle-1.3.6 b/games-arcade/holotz-castle/files/digest-holotz-castle-1.3.6 new file mode 100644 index 000000000000..134b0e1add56 --- /dev/null +++ b/games-arcade/holotz-castle/files/digest-holotz-castle-1.3.6 @@ -0,0 +1 @@ +MD5 61b97f12f5ca5d67c4db7418b2f6f166 holotz-castle-1.3.6-src.tar.gz 3581401 diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.6-build.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.6-build.patch new file mode 100644 index 000000000000..7618f4ddfba7 --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.6-build.patch @@ -0,0 +1,39 @@ +--- JLib/Makefile ++++ JLib/Makefile +@@ -17,4 +17,4 @@ + # Definir -D_JLIB_DEBUG para hacer debug de JLib. Compilar el programa a debugear también con este flag +-CFLAGS=-I. -O3 -ffast-math $(CPU_OPTS) -fPIC +-LDFLAGS=-L. -ffast-math -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer ++CXXFLAGS=-I. $(CPU_OPTS) ++LDFLAGS=-L. -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer + +@@ -24,11 +24,10 @@ + libJLib: $(JLIB_OBJS) +- g++ -shared -o $@.so $? \ +- && ar rvus $@.a $? \ ++ ar rvus $@.a $? + + $(GRAPHICS)/%.o: $(GRAPHICS)/%.cpp +- g++ $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(UTIL)/%.o: $(UTIL)/%.cpp +- g++ $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(MATH)/%.o: $(MATH)/%.cpp +- g++ $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + +--- src/Makefile ++++ src/Makefile +@@ -27,3 +27,3 @@ + +-all: JLib HC HCed ++all: HC HCed + +@@ -39,4 +39,4 @@ + # Define -D_JLIB_DEBUG for JLib debug mode. Put it also in JLib's Makefile. +-CFLAGS=-O3 -Wshadow $(CPU_OPTS) -ffast-math -c -I. -I../JLib $(shell sdl-config --cflags) +-LDFLAGS=-L/usr/X11R6/lib -ffast-math -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf -lGL -lGLU ++CFLAGS=-Wshadow $(CPU_OPTS) -c -I. -I../JLib $(shell sdl-config --cflags) ++LDFLAGS=-lSDL -lSDL_image -lSDL_mixer -lSDL_ttf -lGL -lGLU + diff --git a/games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild b/games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild new file mode 100644 index 000000000000..7a990e7b259f --- /dev/null +++ b/games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild,v 1.1 2005/05/06 23:27:54 vapier Exp $ + +inherit eutils games + +DESCRIPTION="2d platform jump'n'run game" +HOMEPAGE="http://www.mainreactor.net/holotzcastle/en/index_en.html" +SRC_URI="http://www.mainreactor.net/holotzcastle/download/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + media-libs/sdl-mixer + media-libs/libsdl + media-libs/sdl-ttf + media-libs/sdl-image" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + for d in JLib src ; do + emake -C ${d} CPU_OPTS="${CXXFLAGS}" || die "${d} failed" + done +} + +src_install() { + dogamesbin holotz-castle holotz-castle-editor || die "dobin" + insinto "${GAMES_DATADIR}"/${PN}/game + doins -r HCedHome/* res/* || die "doins" + dodoc MANUAL*.txt + doman doc/*.6 + prepgamesdirs +} diff --git a/games-arcade/holotz-castle/metadata.xml b/games-arcade/holotz-castle/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-arcade/holotz-castle/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> |