summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-06 23:27:54 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-06 23:27:54 +0000
commitcdfa4746a3ae195d70d5a6d53208677120dd5eee (patch)
tree937216bd267c0f197d542d7768069135cbe508c2 /games-arcade
parentFix label that showed english as eng instead of en #91740 by Prof. Jonathan K... (diff)
downloadhistorical-cdfa4746a3ae195d70d5a6d53208677120dd5eee.tar.gz
historical-cdfa4746a3ae195d70d5a6d53208677120dd5eee.tar.bz2
historical-cdfa4746a3ae195d70d5a6d53208677120dd5eee.zip
initial import #81711
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/holotz-castle/ChangeLog8
-rw-r--r--games-arcade/holotz-castle/Manifest5
-rw-r--r--games-arcade/holotz-castle/files/digest-holotz-castle-1.3.61
-rw-r--r--games-arcade/holotz-castle/files/holotz-castle-1.3.6-build.patch39
-rw-r--r--games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild43
-rw-r--r--games-arcade/holotz-castle/metadata.xml5
6 files changed, 101 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..c539a33b024f
--- /dev/null
+++ b/games-arcade/holotz-castle/Manifest
@@ -0,0 +1,5 @@
+MD5 4461de1a51a09a60b3dc0a37b9542890 holotz-castle-1.3.6.ebuild 1032
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 189603b01e5ead035bc24b61c4189fdc ChangeLog 377
+MD5 ad80666870059c513ed0762261efb323 files/digest-holotz-castle-1.3.6 76
+MD5 d46e2e185d71faec086b2d443c0e13b3 files/holotz-castle-1.3.6-build.patch 1243
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>