diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-22 17:20:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-22 17:20:12 +0000 |
commit | b9eed4c19b4be378efcc168caed9d6c83e7ab6c3 (patch) | |
tree | 2c6c0d6784b059c4e5e3d2f899443c1fe771b80e /games-strategy | |
parent | Added double precision flag (diff) | |
download | gentoo-2-b9eed4c19b4be378efcc168caed9d6c83e7ab6c3.tar.gz gentoo-2-b9eed4c19b4be378efcc168caed9d6c83e7ab6c3.tar.bz2 gentoo-2-b9eed4c19b4be378efcc168caed9d6c83e7ab6c3.zip |
Initial ebuild #357259 by Azamat H. Hackimov.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy')
3 files changed, 70 insertions, 0 deletions
diff --git a/games-strategy/revenge-of-the-titans/ChangeLog b/games-strategy/revenge-of-the-titans/ChangeLog new file mode 100644 index 000000000000..4eae26439cab --- /dev/null +++ b/games-strategy/revenge-of-the-titans/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-strategy/revenge-of-the-titans +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/revenge-of-the-titans/ChangeLog,v 1.1 2011/03/22 17:20:12 vapier Exp $ + +*revenge-of-the-titans-1.80.10 (22 Mar 2011) + + 22 Mar 2011; Mike Frysinger <vapier@gentoo.org> + +revenge-of-the-titans-1.80.10.ebuild, +metadata.xml: + Initial ebuild #357259 by Azamat H. Hackimov. + diff --git a/games-strategy/revenge-of-the-titans/metadata.xml b/games-strategy/revenge-of-the-titans/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-strategy/revenge-of-the-titans/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> diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.10.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.10.ebuild new file mode 100644 index 000000000000..6ff1c4cbab0f --- /dev/null +++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.10.ebuild,v 1.1 2011/03/22 17:20:12 vapier Exp $ + +EAPI="3" + +inherit games java-pkg-2 + +DESCRIPTION="defeat the returning Titan horde in a series of epic ground battles" +HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans/" +SRC_URI="amd64? ( http://downloads.puppygames.net/RevengeOfTheTitans-amd64.tar.gz -> ${P}-amd64.tar.gz ) + x86? ( http://downloads.puppygames.net/RevengeOfTheTitans-i386.tar.gz -> ${P}-i386.tar.gz )" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6 + virtual/opengl" +DEPEND="" + +RESTRICT="mirror strip" + +S=${WORKDIR}/${PN//-} + +pkg_setup() { + java-pkg-2_pkg_setup + games_pkg_setup +} + +# nothing to do ... stubs for eclasses +src_configure() { :; } +src_compile() { :; } + +src_install() { + local dir="${GAMES_PREFIX_OPT}/${PN}" + + insinto "${dir}" + doins *.jar || die "doins jar" + + exeinto "${dir}" + doexe *.so revenge.sh || die "doexe" + + games_make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}" + doicon revenge.png + make_desktop_entry ${PN} "Revenge of the Titans" revenge + + prepgamesdirs +} + +pkg_preinst() { + java-pkg-2_pkg_preinst + games_pkg_preinst +} |