summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-02-23 03:38:43 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-02-23 03:38:43 +0000
commit2b9add5ba690fed35acf1545486bcffba4830a0a (patch)
treef1fab9c8863d601a290341ef71552de35839d974 /games-strategy/majesty-demo
parentInstall scripts as lvm-{start,stop}.sh to /lib/rcscripts/addons (diff)
downloadhistorical-2b9add5ba690fed35acf1545486bcffba4830a0a.tar.gz
historical-2b9add5ba690fed35acf1545486bcffba4830a0a.tar.bz2
historical-2b9add5ba690fed35acf1545486bcffba4830a0a.zip
Initial import. Ebuild by me. Closes bug #70914.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'games-strategy/majesty-demo')
-rw-r--r--games-strategy/majesty-demo/ChangeLog10
-rw-r--r--games-strategy/majesty-demo/files/digest-majesty-demo-1.0.01
-rw-r--r--games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild44
-rw-r--r--games-strategy/majesty-demo/metadata.xml5
4 files changed, 60 insertions, 0 deletions
diff --git a/games-strategy/majesty-demo/ChangeLog b/games-strategy/majesty-demo/ChangeLog
new file mode 100644
index 000000000000..b2ddc1c65bb6
--- /dev/null
+++ b/games-strategy/majesty-demo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/majesty-demo
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/majesty-demo/ChangeLog,v 1.1 2005/02/23 03:38:43 wolf31o2 Exp $
+
+*majesty-demo-1.0.0 (22 Feb 2005)
+
+ 22 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +majesty-demo-1.0.0.ebuild:
+ Initial import. Ebuild by me. Closes bug #70914.
+
diff --git a/games-strategy/majesty-demo/files/digest-majesty-demo-1.0.0 b/games-strategy/majesty-demo/files/digest-majesty-demo-1.0.0
new file mode 100644
index 000000000000..431391e9ca3f
--- /dev/null
+++ b/games-strategy/majesty-demo/files/digest-majesty-demo-1.0.0
@@ -0,0 +1 @@
+MD5 a2497181ffa682aa1fb822c134f591f9 majesty_demo.run 43170241
diff --git a/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild b/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild
new file mode 100644
index 000000000000..89c1f4fa46b5
--- /dev/null
+++ b/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild,v 1.1 2005/02/23 03:38:43 wolf31o2 Exp $
+
+inherit eutils games
+
+DESCRIPTION="Control your own kingdom in this simulation."
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=8&"
+SRC_URI="http://demos.linuxgamepublishing.com/majesty/majesty_demo.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86" # ~ppc
+IUSE=""
+
+RDEPEND="virtual/x11"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ dodoc README* || die "dodoc"
+ insinto ${dir}
+ exeinto ${dir}
+ doins -r data quests || die "doins data"
+ doins majesty.{bmp,xpm} majestysite.url || die "doins"
+ cp ${S}/majesty.xpm ${S}/majesty-demo.xpm || die "copy icon"
+ doicon majesty-demo.xpm || die "doicon"
+ # I am only installing the static version for now
+ if use x86 || use amd64; then
+ doexe bin/Linux/x86/glibc-2.1/maj_demo || die "doexe"
+ elif use ppc; then
+ doexe bin/Linux/ppc/glibc-2.1/maj_demo || die "doexe"
+ fi
+ games_make_wrapper maj_demo ./maj_demo ${dir}
+ prepgamesdirs
+ make_desktop_entry maj_demo "Majesty Demo" ${PN}.xpm
+}
diff --git a/games-strategy/majesty-demo/metadata.xml b/games-strategy/majesty-demo/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-strategy/majesty-demo/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>