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
commitbfff76444e71b93d8ca32aa530052b4e23bf4949 (patch)
tree673299211ff7396d864697a34c2f97e9264c9834 /games-rpg
parentFix building w/ GCC 4.4. (bug #272375) (diff)
downloadgentoo-2-bfff76444e71b93d8ca32aa530052b4e23bf4949.tar.gz
gentoo-2-bfff76444e71b93d8ca32aa530052b4e23bf4949.tar.bz2
gentoo-2-bfff76444e71b93d8ca32aa530052b4e23bf4949.zip
Initial commit. Enjoy.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/sacred-gold/ChangeLog9
-rw-r--r--games-rpg/sacred-gold/metadata.xml8
-rw-r--r--games-rpg/sacred-gold/sacred-gold-1.0.ebuild49
3 files changed, 66 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/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
+}