initial commit - ebuild submitted by Paul Bredbury via bug #168505
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 27 Apr 2007 04:47:24 +0000 (04:47 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 27 Apr 2007 04:47:24 +0000 (04:47 +0000)
Package-Manager: portage-2.1.2.2

games-strategy/knights-demo/ChangeLog [new file with mode: 0644]
games-strategy/knights-demo/Manifest [new file with mode: 0644]
games-strategy/knights-demo/files/digest-knights-demo-1.32 [new file with mode: 0644]
games-strategy/knights-demo/knights-demo-1.32.ebuild [new file with mode: 0644]
games-strategy/knights-demo/metadata.xml [new file with mode: 0644]

diff --git a/games-strategy/knights-demo/ChangeLog b/games-strategy/knights-demo/ChangeLog
new file mode 100644 (file)
index 0000000..b5dcf9b
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/knights-demo
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/knights-demo/ChangeLog,v 1.1 2007/04/27 04:47:24 mr_bones_ Exp $
+
+*knights-demo-1.32 (27 Apr 2007)
+
+  27 Apr 2007; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+  +knights-demo-1.32.ebuild:
+  initial commit - ebuild submitted by Paul Bredbury via bug #168505
+
diff --git a/games-strategy/knights-demo/Manifest b/games-strategy/knights-demo/Manifest
new file mode 100644 (file)
index 0000000..cce64a1
--- /dev/null
@@ -0,0 +1,16 @@
+DIST knights-demo-1.32.run 31667235 RMD160 560fa39d56659e2856b357ba22b1a5baf54c3219 SHA1 d83b915fbb12b13e314b6951232531f0b62737e7 SHA256 bbdd7a49d710e76ef2de9bc5d9cdfbac3660f4ed2fa785ede08d7422eef995c8
+EBUILD knights-demo-1.32.ebuild 1365 RMD160 245487ab8717fc354d76d1f3ca9209c0e47ead83 SHA1 ddea35d6bd4b0785075d1fc883c5d442255a4804 SHA256 aafa2c01a0484e62e0aa97d9d0c009567978371d9ca7b8f78b26c85fc11522d1
+MD5 65d67a1a0dd0f44df1e6b95998ab0a59 knights-demo-1.32.ebuild 1365
+RMD160 245487ab8717fc354d76d1f3ca9209c0e47ead83 knights-demo-1.32.ebuild 1365
+SHA256 aafa2c01a0484e62e0aa97d9d0c009567978371d9ca7b8f78b26c85fc11522d1 knights-demo-1.32.ebuild 1365
+MISC ChangeLog 433 RMD160 c70677801765816b47338093060cca1f3123887d SHA1 829c02e947bf808ffbc3e4d4d80ffbbfe52458f1 SHA256 cdbfad8458ec36fef0194dd2729feb30de7cdef1d58add843b037981916d57e7
+MD5 710f941d526abf08873ee9850498e5f4 ChangeLog 433
+RMD160 c70677801765816b47338093060cca1f3123887d ChangeLog 433
+SHA256 cdbfad8458ec36fef0194dd2729feb30de7cdef1d58add843b037981916d57e7 ChangeLog 433
+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 1e61788324a07f01a4f15ed50e4e8465 files/digest-knights-demo-1.32 250
+RMD160 e0518ae124ad9e6cad8bfd7a47c230a2205ad9d5 files/digest-knights-demo-1.32 250
+SHA256 c5318528e099bc860859cbe45ceb2e5327dcb05d4817a6f7023c2aef0d3c0648 files/digest-knights-demo-1.32 250
diff --git a/games-strategy/knights-demo/files/digest-knights-demo-1.32 b/games-strategy/knights-demo/files/digest-knights-demo-1.32
new file mode 100644 (file)
index 0000000..c40cffd
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 08df17e78244fe172f1a2730be2e98f3 knights-demo-1.32.run 31667235
+RMD160 560fa39d56659e2856b357ba22b1a5baf54c3219 knights-demo-1.32.run 31667235
+SHA256 bbdd7a49d710e76ef2de9bc5d9cdfbac3660f4ed2fa785ede08d7422eef995c8 knights-demo-1.32.run 31667235
diff --git a/games-strategy/knights-demo/knights-demo-1.32.ebuild b/games-strategy/knights-demo/knights-demo-1.32.ebuild
new file mode 100644 (file)
index 0000000..fd9e08f
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/knights-demo/knights-demo-1.32.ebuild,v 1.1 2007/04/27 04:47:24 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Anglo-Saxon medieval army battles and resource management"
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=knights"
+# Unversioned upstream filename
+SRC_URI="mirror://gentoo/${P}.run"
+
+LICENSE="knights-demo"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+RESTRICT="strip"
+
+RDEPEND="sys-libs/glibc
+       x86? (
+               x11-libs/libX11
+               x11-libs/libXau
+               x11-libs/libXdmcp
+               x11-libs/libXext
+               x11-libs/libXi )
+       amd64? ( app-emulation/emul-linux-x86-xlibs )"
+
+S=${WORKDIR}
+
+src_unpack() {
+       unpack_makeself ${P}.run
+       mv -f data{,-temp}
+       unpack ./data-temp/data.tar.gz
+       rm -rf data-temp lgp_* setup*
+}
+
+src_install() {
+       local dir=${GAMES_PREFIX_OPT}/${PN}
+
+       exeinto "${dir}"
+       doexe bin/Linux/x86/${PN}{,.dynamic} || die "doexe failed"
+
+       insinto "${dir}"
+       doins -r data || die "doins -r failed"
+       doins EULA icon.xpm README{,.licenses} || die "doins failed"
+
+       # We don't support the dynamic version, even though we install it.
+       games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
+       newicon icon.xpm ${PN}.xpm || die "newicon failed"
+       make_desktop_entry ${PN} "Knights and Merchants (Demo)" ${PN}.xpm
+       prepgamesdirs
+}
diff --git a/games-strategy/knights-demo/metadata.xml b/games-strategy/knights-demo/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -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>