summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-arcade/cdogs-sdl/ChangeLog10
-rw-r--r--games-arcade/cdogs-sdl/Manifest17
-rw-r--r--games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild50
-rw-r--r--games-arcade/cdogs-sdl/files/digest-cdogs-sdl-0.36
-rw-r--r--games-arcade/cdogs-sdl/metadata.xml11
5 files changed, 94 insertions, 0 deletions
diff --git a/games-arcade/cdogs-sdl/ChangeLog b/games-arcade/cdogs-sdl/ChangeLog
new file mode 100644
index 000000000000..3a36087200f7
--- /dev/null
+++ b/games-arcade/cdogs-sdl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/cdogs-sdl
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cdogs-sdl/ChangeLog,v 1.1 2007/05/16 06:42:21 tupone Exp $
+
+*cdogs-sdl-0.3 (16 May 2007)
+
+ 16 May 2007; Tupone Alfredo <tupone@gentoo.org> +metadata.xml,
+ +cdogs-sdl-0.3.ebuild:
+ New package. Request bug #150036 by Lucas Martin-King
+
diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
new file mode 100644
index 000000000000..b09e6502ee21
--- /dev/null
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -0,0 +1,17 @@
+DIST cdogs-data-2006-08-16.tar.bz2 213791 RMD160 f901b8ef766ef666bec7182b8255608b6c6275e2 SHA1 6bf2c5872f5cc60bf3eb85248c942bd2584adc1a SHA256 6defd5a61bb6115e5551c01beaa9df259734350b56d5710d3c561ddbf2a7b711
+DIST cdogs-sdl-0.3.tar.bz2 153429 RMD160 04000e4b716617305b771d521aae1e432ddda614 SHA1 128999926d87f0bd8aec3feb920e4ebf7bef1dc7 SHA256 1b48814112ba43566fab13c6144e48827ea7d5488d47871d24bfbc2aa85e8ba9
+EBUILD cdogs-sdl-0.3.ebuild 1163 RMD160 09175185ae8e171772b43fff768ba82ba589defc SHA1 57993161b16fd4b48ca8220070ddbae646d50d35 SHA256 08cb5a5a4bbb8e8b7ef4fec3309ef01a4a6ddca2e7953e4648cb16247f670a92
+MD5 8d5ecb7d49fb2c48ec9037fe5d4ddf30 cdogs-sdl-0.3.ebuild 1163
+RMD160 09175185ae8e171772b43fff768ba82ba589defc cdogs-sdl-0.3.ebuild 1163
+SHA256 08cb5a5a4bbb8e8b7ef4fec3309ef01a4a6ddca2e7953e4648cb16247f670a92 cdogs-sdl-0.3.ebuild 1163
+MISC ChangeLog 300 RMD160 cb10c9c4197eb759861f27b447b9d7ffe1533a62 SHA1 dcf4558672a83e0a5785c0e5604c9947b82088bf SHA256 a8250e11b38e365f38b87de3b3317256178ba1a960a0ba72875b487a8718eadf
+MD5 c5c876a4c06dfb7e56cba850e582490e ChangeLog 300
+RMD160 cb10c9c4197eb759861f27b447b9d7ffe1533a62 ChangeLog 300
+SHA256 a8250e11b38e365f38b87de3b3317256178ba1a960a0ba72875b487a8718eadf ChangeLog 300
+MISC metadata.xml 468 RMD160 2bf6df0f97d765653a569bc2400331234761e2db SHA1 3a9d4d5867bd81d55e1060c3e152d052d01a04ea SHA256 90469e88a8bfa943093a9b0cebcce431c15cf96949b501874792e378cfe04992
+MD5 b570275d562fd97790eb6e90bd90b190 metadata.xml 468
+RMD160 2bf6df0f97d765653a569bc2400331234761e2db metadata.xml 468
+SHA256 90469e88a8bfa943093a9b0cebcce431c15cf96949b501874792e378cfe04992 metadata.xml 468
+MD5 3c9c844f5ed201db548e0082bed73e8d files/digest-cdogs-sdl-0.3 512
+RMD160 41fa31efb5a0d4a76f8bb83472c5afcc7d3f7d95 files/digest-cdogs-sdl-0.3 512
+SHA256 bd8c5a5b3569c097a223e2104f2f2e941e534876fc0a5468b735555673f6f8d2 files/digest-cdogs-sdl-0.3 512
diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild
new file mode 100644
index 000000000000..9e00d55de232
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild,v 1.1 2007/05/16 06:42:21 tupone Exp $
+
+inherit eutils games
+
+CDOGS_DATA="cdogs-data-2006-08-16"
+
+DESCRIPTION="A port of the old DOS arcade game C-Dogs"
+HOMEPAGE="http://lumaki.com/code/cdogs"
+SRC_URI="http://icculus.org/${PN}/files/src/${P}.tar.bz2
+ http://icculus.org/${PN}/files/data/${CDOGS_DATA}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="media-libs/sdl-mixer"
+
+S="${WORKDIR}/${P}/src"
+
+src_unpack() {
+ unpack ${A}
+ mv ${CDOGS_DATA} ${P}/data || die "Failed moving data around"
+ cd "${S}"
+ sed -i -e "/^CF_OPT/d" \
+ Makefile || die "Failed patching Makefile"
+}
+
+src_compile() {
+ emake I_AM_CONFIGURED=yes \
+ SYSTEM=\"linux\" \
+ DATADIR=\"${GAMES_DATADIR}/${PN}\" \
+ cdogs || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=\"${D}\" \
+ BINDIR=\"${GAMES_BINDIR}\" \
+ DATADIR=\"${GAMES_DATADIR}/${PN}\" \
+ install || die "emake install failed"
+ newicon ../data/cdogs_icon.png ${PN}.png
+ make_desktop_entry "cdogs -fullscreen" ${PN} ${PN}.png
+
+ cd ../doc
+ dodoc README AUTHORS ChangeLog README_DATA TODO original_readme.txt
+
+ prepgamesdirs
+}
diff --git a/games-arcade/cdogs-sdl/files/digest-cdogs-sdl-0.3 b/games-arcade/cdogs-sdl/files/digest-cdogs-sdl-0.3
new file mode 100644
index 000000000000..9412fc7437fe
--- /dev/null
+++ b/games-arcade/cdogs-sdl/files/digest-cdogs-sdl-0.3
@@ -0,0 +1,6 @@
+MD5 110a9d40727bf89d96e2bf2858ac71a6 cdogs-data-2006-08-16.tar.bz2 213791
+RMD160 f901b8ef766ef666bec7182b8255608b6c6275e2 cdogs-data-2006-08-16.tar.bz2 213791
+SHA256 6defd5a61bb6115e5551c01beaa9df259734350b56d5710d3c561ddbf2a7b711 cdogs-data-2006-08-16.tar.bz2 213791
+MD5 e57fe63c9759009d9805156a25d60f85 cdogs-sdl-0.3.tar.bz2 153429
+RMD160 04000e4b716617305b771d521aae1e432ddda614 cdogs-sdl-0.3.tar.bz2 153429
+SHA256 1b48814112ba43566fab13c6144e48827ea7d5488d47871d24bfbc2aa85e8ba9 cdogs-sdl-0.3.tar.bz2 153429
diff --git a/games-arcade/cdogs-sdl/metadata.xml b/games-arcade/cdogs-sdl/metadata.xml
new file mode 100644
index 000000000000..0999c6a1d83a
--- /dev/null
+++ b/games-arcade/cdogs-sdl/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+C-Dogs is an arcade shoot-em-up which lets players work alone and
+cooperatively during missions or fight against each other in the "dogfight"
+deathmatch mode. The DOS version of C-Dogs came with severla built in missions
+and dogfight maps. This version does too.
+</longdescription>
+</pkgmetadata>