summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-02-06 23:31:54 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-02-06 23:31:54 +0000
commitbfb04eef999ae3eeb0b8767acc145c31c1bac715 (patch)
treeb3d904e5be08770de2df17b1e0cabf7a7aef415e /games-strategy
parentfixing configure option for doxygen dep, fixes bug #164327 (diff)
downloadgentoo-2-bfb04eef999ae3eeb0b8767acc145c31c1bac715.tar.gz
gentoo-2-bfb04eef999ae3eeb0b8767acc145c31c1bac715.tar.bz2
gentoo-2-bfb04eef999ae3eeb0b8767acc145c31c1bac715.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and edited by me.
(Portage version: 2.1.2-r5)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/coldwar/ChangeLog10
-rw-r--r--games-strategy/coldwar/Manifest16
-rw-r--r--games-strategy/coldwar/coldwar-1.0.1.ebuild77
-rw-r--r--games-strategy/coldwar/files/digest-coldwar-1.0.13
-rw-r--r--games-strategy/coldwar/metadata.xml5
5 files changed, 111 insertions, 0 deletions
diff --git a/games-strategy/coldwar/ChangeLog b/games-strategy/coldwar/ChangeLog
new file mode 100644
index 000000000000..bed612bfcfc6
--- /dev/null
+++ b/games-strategy/coldwar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/coldwar
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar/ChangeLog,v 1.1 2007/02/06 23:31:54 wolf31o2 Exp $
+
+*coldwar-1.0.1 (06 Feb 2007)
+
+ 06 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +coldwar-1.0.1.ebuild:
+ Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and edited by me.
+
diff --git a/games-strategy/coldwar/Manifest b/games-strategy/coldwar/Manifest
new file mode 100644
index 000000000000..24d201130894
--- /dev/null
+++ b/games-strategy/coldwar/Manifest
@@ -0,0 +1,16 @@
+DIST coldwar-1.0-1.0.1-x86.run 181769 RMD160 c49a69b372ce890faf42a9328e2647f75000aa48 SHA1 a70849565a0d198e23819a9c0b9892a07ac630fc SHA256 adffc27da6eff739a46193dd095d4b10048a251997b8c876befcae94423a1f32
+EBUILD coldwar-1.0.1.ebuild 1894 RMD160 8a0b5ef13f06db4077960da77dd5f0cfcef8c293 SHA1 8c9761206c92b619f56bfc70b50b580c61d8044c SHA256 8af66e1c324239129c44e1855d0d00527754058fe5d7fcebf2d86c015404fb95
+MD5 355e3cbe70c32ead0250a496dd49f7d8 coldwar-1.0.1.ebuild 1894
+RMD160 8a0b5ef13f06db4077960da77dd5f0cfcef8c293 coldwar-1.0.1.ebuild 1894
+SHA256 8af66e1c324239129c44e1855d0d00527754058fe5d7fcebf2d86c015404fb95 coldwar-1.0.1.ebuild 1894
+MISC ChangeLog 326 RMD160 ffcf89337c69fd40c0ecf066f003fc778d4a3c5e SHA1 021a253b5d75bde85d6c15bf44a2993cb31bb793 SHA256 65cbf912ac1b307efc43439930db6f71307466e6277cf6394a762b6931ca4bfb
+MD5 7f5e3481ec453c4e3d6b8f81f850a420 ChangeLog 326
+RMD160 ffcf89337c69fd40c0ecf066f003fc778d4a3c5e ChangeLog 326
+SHA256 65cbf912ac1b307efc43439930db6f71307466e6277cf6394a762b6931ca4bfb ChangeLog 326
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 877ca499e2a666a2244feca0b0d33544 files/digest-coldwar-1.0.1 256
+RMD160 e6c26cbe74396dd493de043fcc2ec9b84fa376c7 files/digest-coldwar-1.0.1 256
+SHA256 c192787658509e6b3c21a66cf6eba8f9a0249a5618924eab9dc102edffa6735b files/digest-coldwar-1.0.1 256
diff --git a/games-strategy/coldwar/coldwar-1.0.1.ebuild b/games-strategy/coldwar/coldwar-1.0.1.ebuild
new file mode 100644
index 000000000000..e344d4dc3c2e
--- /dev/null
+++ b/games-strategy/coldwar/coldwar-1.0.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar/coldwar-1.0.1.ebuild,v 1.1 2007/02/06 23:31:54 wolf31o2 Exp $
+
+inherit eutils versionator games
+
+PV_MAJOR=$(get_version_component_range 1-2)
+MY_P=${PN}-${PV_MAJOR}-${PV}
+
+DESCRIPTION="Third-person sneaker like Splinter Cell"
+HOMEPAGE="http://linuxgamepublishing.com/info.php?id=coldwar"
+SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${MY_P}-x86.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_de linguas_fr linguas_ru"
+RESTRICT="strip"
+
+RDEPEND="virtual/opengl
+ x86? (
+ media-libs/libogg
+ media-libs/openal
+ media-libs/libvorbis
+ media-libs/smpeg
+ dev-libs/glib
+ x11-libs/libX11
+ x11-libs/libXext )
+ amd64? (
+ app-emulation/emul-linux-x86-sdl
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-medialibs )"
+DEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ cdrom_get_cds bin/Linux/x86/${PN}
+ ln -sfn "${CDROM_ROOT}"/data cd
+ unpack "./cd/data.tar.gz"
+ use linguas_de && unpack "./cd/langpack_de.tar.gz"
+ use linguas_fr && unpack "./cd/langpack_fr.tar.gz"
+ use linguas_ru && unpack "./cd/langpack_ru.tar.gz"
+ rm -f cd
+
+ cp -rf "${CDROM_ROOT}"/bin/Linux/x86/* . || die "cp exes failed"
+ cp -f "${CDROM_ROOT}"/{READ*,icon*} . || die "cp READ* failed"
+
+ mkdir -p patch
+ cd patch
+ unpack_makeself ${MY_P}-x86.run
+ bin/Linux/x86/loki_patch patch.dat "${S}" || die "loki_patch failed"
+ cd "${S}"
+ rm -rf patch
+}
+
+src_install() {
+ dir=${GAMES_PREFIX_OPT}/${PN}
+
+ insinto "${dir}"
+ doins -r * || die "doins -r failed"
+
+ exeinto "${dir}"
+ doexe ${PN} || die "doexe ${PN} failed"
+
+ exeinto "${dir}"/bin
+ doexe bin/{launch*,meng} || die "doexe bin failed"
+
+ exeinto "${dir}"/lib
+ doexe lib/lib* || die "doexe lib/* failed"
+
+ games_make_wrapper ${PN} ./${PN} "${dir}"
+ newicon "${CDROM_ROOT}"/icon.xpm ${PN}.xpm || die "newicon failed"
+ make_desktop_entry ${PN} "Cold War" ${PN}.xpm
+
+ prepgamesdirs
+}
diff --git a/games-strategy/coldwar/files/digest-coldwar-1.0.1 b/games-strategy/coldwar/files/digest-coldwar-1.0.1
new file mode 100644
index 000000000000..0ee6511a4e97
--- /dev/null
+++ b/games-strategy/coldwar/files/digest-coldwar-1.0.1
@@ -0,0 +1,3 @@
+MD5 cb32406ed8893908c03607500e29cc31 coldwar-1.0-1.0.1-x86.run 181769
+RMD160 c49a69b372ce890faf42a9328e2647f75000aa48 coldwar-1.0-1.0.1-x86.run 181769
+SHA256 adffc27da6eff739a46193dd095d4b10048a251997b8c876befcae94423a1f32 coldwar-1.0-1.0.1-x86.run 181769
diff --git a/games-strategy/coldwar/metadata.xml b/games-strategy/coldwar/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-strategy/coldwar/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>