diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-01-09 21:38:20 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-01-09 21:38:20 +0000 |
commit | e5bd1c417455d7e3a9d7aa5aee1d3c83eaed7feb (patch) | |
tree | 125ce8f1c5bf038777890c1b8c5a449fb20b5d0e /games-action/descent2-demodata | |
parent | Stating a link to Documentation for configuration (#159137). (diff) | |
download | gentoo-2-e5bd1c417455d7e3a9d7aa5aee1d3c83eaed7feb.tar.gz gentoo-2-e5bd1c417455d7e3a9d7aa5aee1d3c83eaed7feb.tar.bz2 gentoo-2-e5bd1c417455d7e3a9d7aa5aee1d3c83eaed7feb.zip |
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and based loosely on games-action/d2x. Closing bug #137306.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'games-action/descent2-demodata')
-rw-r--r-- | games-action/descent2-demodata/ChangeLog | 11 | ||||
-rw-r--r-- | games-action/descent2-demodata/Manifest | 16 | ||||
-rw-r--r-- | games-action/descent2-demodata/descent2-demodata-1.0.ebuild | 73 | ||||
-rw-r--r-- | games-action/descent2-demodata/files/digest-descent2-demodata-1.0 | 3 | ||||
-rw-r--r-- | games-action/descent2-demodata/metadata.xml | 5 |
5 files changed, 108 insertions, 0 deletions
diff --git a/games-action/descent2-demodata/ChangeLog b/games-action/descent2-demodata/ChangeLog new file mode 100644 index 000000000000..350b47bda920 --- /dev/null +++ b/games-action/descent2-demodata/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-action/descent2-demodata +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/descent2-demodata/ChangeLog,v 1.1 2007/01/09 21:38:20 wolf31o2 Exp $ + +*descent2-demodata-1.0 (09 Jan 2007) + + 09 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml, + +descent2-demodata-1.0.ebuild: + Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and based loosely + on games-action/d2x. Closing bug #137306. + diff --git a/games-action/descent2-demodata/Manifest b/games-action/descent2-demodata/Manifest new file mode 100644 index 000000000000..1c5febde4736 --- /dev/null +++ b/games-action/descent2-demodata/Manifest @@ -0,0 +1,16 @@ +DIST d2demo10.zip 4306833 RMD160 6f78a26823bd8470a68a810a7a1bb592a5a4807d SHA1 f44941194dd8f5521615499df826d4e148ba26e9 SHA256 f8d005670fe5cd17e07ca9bf4022f1045aed436639c37f1e83dd647e14fcec1f +EBUILD descent2-demodata-1.0.ebuild 1791 RMD160 bd388f3aef6e9d17b4a59c9ef47d90529aeaba33 SHA1 f361b625d6f7e0f54c85b6a36e626f00aa160256 SHA256 50d13cca070fde8f315ef26bce1a2a7fa7c352f1a98929c9e742f018450146ec +MD5 511a085b736223325d7e6912ec9d35ff descent2-demodata-1.0.ebuild 1791 +RMD160 bd388f3aef6e9d17b4a59c9ef47d90529aeaba33 descent2-demodata-1.0.ebuild 1791 +SHA256 50d13cca070fde8f315ef26bce1a2a7fa7c352f1a98929c9e742f018450146ec descent2-demodata-1.0.ebuild 1791 +MISC ChangeLog 393 RMD160 c057094214982c136ae567ab71d6e1b2a2f4cb83 SHA1 1f4f3bc18efa01a42bec2c22870f37c18d992a4c SHA256 edae7fbf6482771bde721a22811055e0a8049b8437debe90ede3251e08173b3c +MD5 fdced21e59d201c1ca3cba46b84222ec ChangeLog 393 +RMD160 c057094214982c136ae567ab71d6e1b2a2f4cb83 ChangeLog 393 +SHA256 edae7fbf6482771bde721a22811055e0a8049b8437debe90ede3251e08173b3c ChangeLog 393 +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 2147b86a14cb5daf4359c9f229444a01 files/digest-descent2-demodata-1.0 220 +RMD160 a274022c4b2684b0327fc69550b81e7342b76060 files/digest-descent2-demodata-1.0 220 +SHA256 a90288e67de568af1dcb28d5907be120ef081b8eafc143680a3ff7d4082219ca files/digest-descent2-demodata-1.0 220 diff --git a/games-action/descent2-demodata/descent2-demodata-1.0.ebuild b/games-action/descent2-demodata/descent2-demodata-1.0.ebuild new file mode 100644 index 000000000000..8fe17820d431 --- /dev/null +++ b/games-action/descent2-demodata/descent2-demodata-1.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/descent2-demodata/descent2-demodata-1.0.ebuild,v 1.1 2007/01/09 21:38:20 wolf31o2 Exp $ + +inherit eutils games + +MY_PN="d2demo" +MY_PV=${PV/./} +DEMO="${MY_PN}${MY_PV}.zip" + +DESCRIPTION="Demo data files for Descent 2" +HOMEPAGE="http://www.interplay.com/games/product.asp?GameID=109" +SRC_URI="ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO} + ftp://ftp.demon.co.uk/pub/ibmpc/dos/games/descent/${DEMO} + mirror://3dgamers/descent2/${DEMO}" + +# See README.TXT +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +# d2x-0.2.5-r2 may include the demo data itself +# d2x-0.2.5-r3 does not include the demo data +RDEPEND="|| ( + games-action/d2x-rebirth + games-action/d2x-xl + >=games-action/d2x-0.2.5-r3 )" +DEPEND="!<games-action/d2x-0.2.5-r3 + app-arch/unarj" + +S=${WORKDIR} +dir=${GAMES_DATADIR}/d2x + +src_unpack() { + unpack ${A} + + # This is much more fun than simply downloading + # http://www.icculus.org/d2x/data/d2shar10.tar.gz + unarj e D2_1.SOW || die "unarj D2_1.SOW failed" + mv ${MY_PN}.ham{,1} + unarj e D2_2.SOW || die "unarj D2_2.SOW failed" + mv ${MY_PN}.ham{,2} + mv ${MY_PN}.pig{,2} + unarj e D2_3.SOW || die "unarj D2_3.SOW failed" + mv ${MY_PN}.pig{,3} + + # From the sows, big porkie pies shall grow + cat ${MY_PN}.ham{1,2} > ${MY_PN}.ham || die "cat ham failed" + cat ${MY_PN}.pig{2,3} > ${MY_PN}.pig || die "cat pig failed" + + rm *{1,2,3} *.{386,bat,ubn} eregcard.ini + mkdir controls + mv *.b50 descent2.* controls +} + +src_install() { + insinto "${dir}" + # The "controls" directory is not needed, nor the ini files + doins d2demo.* || die "doins failed" + + dodoc *.txt + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + elog "A client is needed to run the game, e.g. games-action/d2x-xl." + elog "Not all Descent 2 clients support the demo data." + echo +} diff --git a/games-action/descent2-demodata/files/digest-descent2-demodata-1.0 b/games-action/descent2-demodata/files/digest-descent2-demodata-1.0 new file mode 100644 index 000000000000..d0a205aff0c0 --- /dev/null +++ b/games-action/descent2-demodata/files/digest-descent2-demodata-1.0 @@ -0,0 +1,3 @@ +MD5 03c6d632febb27d5f64f38305a9fc467 d2demo10.zip 4306833 +RMD160 6f78a26823bd8470a68a810a7a1bb592a5a4807d d2demo10.zip 4306833 +SHA256 f8d005670fe5cd17e07ca9bf4022f1045aed436639c37f1e83dd647e14fcec1f d2demo10.zip 4306833 diff --git a/games-action/descent2-demodata/metadata.xml b/games-action/descent2-demodata/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-action/descent2-demodata/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> |