summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-03-06 15:34:14 +0100
committerMartin Väth <martin@mvath.de>2016-03-06 15:34:14 +0100
commitcc52da3cd4d58f0e8f21ea0c32227f5e5f46a8be (patch)
treec4920dd88898057edc703adcb4a044c20a25e835 /games-rpg/aklabeth
parentgames-engines/freesci: Add old gentoo ebuild, bumped to EAPI=6 (diff)
downloadmv-cc52da3cd4d58f0e8f21ea0c32227f5e5f46a8be.tar.gz
mv-cc52da3cd4d58f0e8f21ea0c32227f5e5f46a8be.tar.bz2
mv-cc52da3cd4d58f0e8f21ea0c32227f5e5f46a8be.zip
games-rpg/aklabeth: Add old gentoo ebuild, bumped to EAPI=6
Diffstat (limited to 'games-rpg/aklabeth')
-rw-r--r--games-rpg/aklabeth/Manifest1
-rw-r--r--games-rpg/aklabeth/aklabeth-1.0-r1.ebuild28
-rw-r--r--games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch10
-rw-r--r--games-rpg/aklabeth/metadata.xml8
4 files changed, 47 insertions, 0 deletions
diff --git a/games-rpg/aklabeth/Manifest b/games-rpg/aklabeth/Manifest
new file mode 100644
index 00000000..5279f0d8
--- /dev/null
+++ b/games-rpg/aklabeth/Manifest
@@ -0,0 +1 @@
+DIST aklabeth-1.0.tar.gz 235131 SHA256 ce8486519f434a229f002a77cad28cb40e66794225d2b8ac7013ab867c2ff044
diff --git a/games-rpg/aklabeth/aklabeth-1.0-r1.ebuild b/games-rpg/aklabeth/aklabeth-1.0-r1.ebuild
new file mode 100644
index 00000000..83f3904e
--- /dev/null
+++ b/games-rpg/aklabeth/aklabeth-1.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+RESTRICT="mirror"
+
+DESCRIPTION="A remake of Richard C. Garriott's Ultima prequel"
+HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
+SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl"
+
+src_prepare() {
+ eapply -p0 "${FILESDIR}"/${P}-gcc43.patch
+ eapply_user
+}
+
+src_install() {
+ dobin src/aklabeth
+ dodoc AUTHORS README NEWS
+}
diff --git a/games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch b/games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch
new file mode 100644
index 00000000..b9a32dad
--- /dev/null
+++ b/games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/sdw.hxx
++++ src/sdw.hxx
+@@ -19,6 +19,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ namespace SDLWrapper // It's all nicely in a namespace SDLWrapper
+ {
diff --git a/games-rpg/aklabeth/metadata.xml b/games-rpg/aklabeth/metadata.xml
new file mode 100644
index 00000000..b919c846
--- /dev/null
+++ b/games-rpg/aklabeth/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 type="person">
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+</pkgmetadata>