diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-10-05 15:58:31 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-10-05 15:58:31 +0000 |
commit | 4d88f2964c77dc3ff2db13e830fa5697df3e3e91 (patch) | |
tree | 26c0174eacd799defb28800d529ab763d874a4f8 /games-strategy/dominions2 | |
parent | Initial import (diff) | |
download | historical-4d88f2964c77dc3ff2db13e830fa5697df3e3e91.tar.gz historical-4d88f2964c77dc3ff2db13e830fa5697df3e3e91.tar.bz2 historical-4d88f2964c77dc3ff2db13e830fa5697df3e3e91.zip |
Initial import. Ebuild by Alex Linke <incubation.11@freenet.de> and modified by me. Tested on amd64 and x86. Closing bug #36706.
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'games-strategy/dominions2')
-rw-r--r-- | games-strategy/dominions2/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/dominions2/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/dominions2/dominions2-2.16.ebuild | 99 | ||||
-rw-r--r-- | games-strategy/dominions2/files/digest-dominions2-2.16 | 5 | ||||
-rw-r--r-- | games-strategy/dominions2/metadata.xml | 5 |
5 files changed, 124 insertions, 0 deletions
diff --git a/games-strategy/dominions2/ChangeLog b/games-strategy/dominions2/ChangeLog new file mode 100644 index 000000000000..78e01c2eb636 --- /dev/null +++ b/games-strategy/dominions2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-strategy/dominions2 +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/ChangeLog,v 1.1 2005/10/05 15:58:31 wolf31o2 Exp $ + +*dominions2-2.16 (05 Oct 2005) + + 05 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml, + +dominions2-2.16.ebuild: + Initial import. Ebuild by Alex Linke <incubation.11@freenet.de> and modified + by me. Tested on amd64 and x86. Closing bug #36706. + diff --git a/games-strategy/dominions2/Manifest b/games-strategy/dominions2/Manifest new file mode 100644 index 000000000000..169f39a066d9 --- /dev/null +++ b/games-strategy/dominions2/Manifest @@ -0,0 +1,4 @@ +MD5 2e9e57c0961210cc389889fb7db152db dominions2-2.16.ebuild 2825 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 ef645af27e788561b95f46b3bf886e27 ChangeLog 487 +MD5 0e045212231581f0caa3ca2a96292bd6 files/digest-dominions2-2.16 327 diff --git a/games-strategy/dominions2/dominions2-2.16.ebuild b/games-strategy/dominions2/dominions2-2.16.ebuild new file mode 100644 index 000000000000..7f3734d7ba5c --- /dev/null +++ b/games-strategy/dominions2/dominions2-2.16.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/dominions2-2.16.ebuild,v 1.1 2005/10/05 15:58:31 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="Dominions 2: The Ascension Wars is an epic turn-based fantasy strategy game" +HOMEPAGE="http://www.shrapnelgames.com/Illwinter/d2/" +SRC_URI="x86? ( + http://www.shrapnelgames.com/downloads/dompatch${PV/\./}_linux_x86.tgz ) + amd64? ( + http://www.shrapnelgames.com/downloads/dompatch${PV/\./}_linux_x86.tgz ) + ppc? ( + http://www.shrapnelgames.com/downloads/dompatch${PV/\./}_linux_ppc.tgz ) + doc? ( http://www.shrapnelgames.com/downloads/DOM2_Walkthrough.pdf + http://www.shrapnelgames.com/downloads/manual_addenda.pdf ) + mirror://gentoo/${PN}.png" + +RESTRICT="nostrip" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +# I am not sure what license applies to Dominions II and I couldn't find +# further information on their homepage or on the game CD :( +LICENSE="as-is" + +DEPEND="virtual/x11 + virtual/opengl + virtual/glu + amd64? ( app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-sdl )" + +src_unpack() { + mkdir -p ${S}/patch + cd ${S}/patch + if use x86 || use amd64 + then + unpack dompatch${PV/\./}_linux_x86.tgz + elif use ppc + then + unpack dompatch${PV/\./}_linux_ppc.tgz + fi +} + +src_install() { + cdrom_get_cds dom2icon.ico + einfo "Copying files to harddisk... this may take a while..." + + DOM2DIR="${GAMES_PREFIX_OPT}/${PN}" + dodir ${DOM2DIR} + exeinto ${DOM2DIR} + if use amd64 || use x86 + then + doexe ${CDROM_ROOT}/bin_lin/x86/dom2* || die "doexe failed" + elif use ppc + then + doexe ${CDROM_ROOT}/bin_lin/ppc/dom2* || die "doexe failed" + fi + insinto ${DOM2DIR} + doins -r ${CDROM_ROOT}/dominions2.app/Contents/Resources/* || \ + die "doins failed" + dodoc ${CDROM_ROOT}/doc/* || die "dodoc failed" + + # applying the official patches just means overwriting some important + # files with their more recent versions: + einfo "Applying patch for version ${PV}..." + dodoc ${S}/patch/doc/* || die "dodoc failed" + doexe ${S}/patch/dom2 || die "doexe failed" + rm -rf ${S}/patch/doc/ ${S}/patch/dom2 || die "rm failed" + doins -r ${S}/patch/* || die "doins failed" + + if use doc; then + einfo "" + einfo "Installing extra documentation to '/usr/share/doc/${P}'" + einfo "" + einfo "You may want to study 'DOM2_Walkthrough.pdf' carefully if" + einfo "you are new to Dominions II." + einfo "" + dodoc ${DISTDIR}/{DOM2_Walkthrough,manual_addenda}.pdf + fi + + doicon ${DISTFILES}/${PN}.png + + # update times + find ${D} -exec touch '{}' \; + + games_make_wrapper dominions2 ./dom2 ${DOM2DIR} + make_desktop_entry dominions2 "Dominions II" dominions2.png + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + einfo "To play the game run:" + einfo " dominions2" + echo +} diff --git a/games-strategy/dominions2/files/digest-dominions2-2.16 b/games-strategy/dominions2/files/digest-dominions2-2.16 new file mode 100644 index 000000000000..cfaef31dee42 --- /dev/null +++ b/games-strategy/dominions2/files/digest-dominions2-2.16 @@ -0,0 +1,5 @@ +MD5 6facdf76c6da754146a4c0cb2335497e dompatch216_linux_x86.tgz 1892714 +MD5 516eebf06bb046e1998dac8ff452cf85 dompatch216_linux_ppc.tgz 1982323 +MD5 3b768773667fa34138561887b837e578 DOM2_Walkthrough.pdf 549897 +MD5 53106378296b7feed3c0c6cd74cec0f5 manual_addenda.pdf 192454 +MD5 5b8fa893f801401c25f87a65853af1bf dominions2.png 1135 diff --git a/games-strategy/dominions2/metadata.xml b/games-strategy/dominions2/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-strategy/dominions2/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> |