summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-07-29 04:53:23 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-07-29 04:53:23 +0000
commitcb955fa33a5dff2b5e5323eb29aa21c1bc662ed5 (patch)
tree780861a23023b59cc4abac9c4e14873689100f10 /games-rpg/sacred-gold
parentFix building w/ GCC 4.4. (bug #272375) (diff)
downloadhistorical-cb955fa33a5dff2b5e5323eb29aa21c1bc662ed5.tar.gz
historical-cb955fa33a5dff2b5e5323eb29aa21c1bc662ed5.tar.bz2
historical-cb955fa33a5dff2b5e5323eb29aa21c1bc662ed5.zip
Initial commit. Enjoy.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'games-rpg/sacred-gold')
-rw-r--r--games-rpg/sacred-gold/ChangeLog9
-rw-r--r--games-rpg/sacred-gold/Manifest3
-rw-r--r--games-rpg/sacred-gold/metadata.xml8
-rw-r--r--games-rpg/sacred-gold/sacred-gold-1.0.ebuild49
4 files changed, 69 insertions, 0 deletions
diff --git a/games-rpg/sacred-gold/ChangeLog b/games-rpg/sacred-gold/ChangeLog
new file mode 100644
index 000000000000..ff0805d3615b
--- /dev/null
+++ b/games-rpg/sacred-gold/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-rpg/sacred-gold
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/sacred-gold/ChangeLog,v 1.1 2009/07/29 04:53:23 calchan Exp $
+
+*sacred-gold-1.0 (29 Jul 2009)
+
+ 29 Jul 2009; Denis Dupeyron <calchan@gentoo.org> +sacred-gold-1.0.ebuild:
+ Initial commit. Enjoy.
+
diff --git a/games-rpg/sacred-gold/Manifest b/games-rpg/sacred-gold/Manifest
new file mode 100644
index 000000000000..6816a094b45f
--- /dev/null
+++ b/games-rpg/sacred-gold/Manifest
@@ -0,0 +1,3 @@
+EBUILD sacred-gold-1.0.ebuild 1205 RMD160 c6ec806f28f789c2bf5d56343f0dad8dff126e43 SHA1 f3bba24168939d06a180503604eab874f86d6915 SHA256 768ce0f579af5ac8ddf2ecdd996594ba060beca4d7c12ec8ebcd26181f7f4eb9
+MISC ChangeLog 350 RMD160 e338e89528af7469250c0b4c931e3a4c3ae1bd07 SHA1 1116f197fbc4db067c2846f2f9d105df364d0c2c SHA256 4d3bc2a25185dfb2eec455c2fa6430d079f21ca9a0f1ed571d03282df9316ba7
+MISC metadata.xml 232 RMD160 4c7ab29da7172e74adfd87ebb5eb6fb5475a82be SHA1 7b98547e067cdaccb43f37be116d5b15befef8e9 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea
diff --git a/games-rpg/sacred-gold/metadata.xml b/games-rpg/sacred-gold/metadata.xml
new file mode 100644
index 000000000000..5b12ed78d92e
--- /dev/null
+++ b/games-rpg/sacred-gold/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>calchan@gentoo.org</email>
+ <name>Denis Dupeyron</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-rpg/sacred-gold/sacred-gold-1.0.ebuild b/games-rpg/sacred-gold/sacred-gold-1.0.ebuild
new file mode 100644
index 000000000000..16c6d80282ff
--- /dev/null
+++ b/games-rpg/sacred-gold/sacred-gold-1.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/sacred-gold/sacred-gold-1.0.ebuild,v 1.1 2009/07/29 04:53:23 calchan Exp $
+
+inherit eutils games
+
+DESCRIPTION="Action role-playing game"
+HOMEPAGE="http://linuxgamepublishing.com/info.php?id=sacred"
+SRC_URI=""
+
+LICENSE="as-is GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+RDEPEND="virtual/opengl
+ x86? ( x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi )
+ amd64? ( app-emulation/emul-linux-x86-xlibs )"
+DEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ cdrom_get_cds .data/bin/Linux/x86/sacred
+ ln -sfn "${CDROM_ROOT}"/.data cd
+ unpack ./cd/data/data.tar.gz
+ rm -f cd
+ mv lib/lib{1,2}/* lib
+ rmdir lib/lib{1,2}
+ cp -f "${CDROM_ROOT}"/.data/bin/Linux/x86/sacred* . || die
+ cp -f "${CDROM_ROOT}"/README* . || die
+ cp -f "${CDROM_ROOT}"/manual.pdf . || die
+}
+
+src_install() {
+ dir=${GAMES_PREFIX_OPT}/${PN}
+
+ insinto "${dir}"
+ mv * "${D}/${dir}" || die
+
+ games_make_wrapper ${PN} ./sacred "${dir}" "${dir}"/lib
+ newicon "${CDROM_ROOT}"/.data/icon.xpm ${PN}.xpm || die
+ make_desktop_entry ${PN} "Sacred - Gold" ${PN}
+
+ prepgamesdirs
+}