summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/glfrontier/glfrontier-20060623-r2.ebuild')
-rw-r--r--games-strategy/glfrontier/glfrontier-20060623-r2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild
new file mode 100644
index 0000000..92cf230
--- /dev/null
+++ b/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit games
+
+MY_PN=glfrontier
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Frontier: Elite 2 with OpenGL support"
+HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html"
+
+SRC_URI="http://tom.noflag.org.uk/glfrontier/frontvm3-20060623.tar.bz2
+ http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2"
+
+
+LICENSE="GPL"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SLOT="0"
+
+RDEPEND=">=media-libs/freeglut-2.6
+ media-libs/libsdl
+ media-libs/libogg"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_compile() {
+ cd ${S}/frontvm3-20060623
+ make -f Makefile-C || die "make install failed"
+}
+
+src_install() {
+ mv ${S}/frontvm3-20060623/frontier ${S}/frontvm3-20060623/${MY_PN}
+
+ insinto /opt/${MY_PN}
+ doins ${S}/frontvm3-20060623/${MY_PN}
+ doins ${S}/frontvm3-20060623/fe2.s.bin
+ doins -r ${S}/frontvm-audio-20060222/*
+
+ chgrp -R games ${D}/opt/${MY_PN}
+ chmod g+x ${D}/opt/${MY_PN}/${MY_PN}
+
+ make_desktop_entry /opt/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/opt/${MY_PN}
+ prepgamesdirs
+}