summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2019-10-29 15:40:37 +0100
committerSven Eden <sven.eden@gmx.de>2019-10-29 15:40:37 +0100
commit62546f7118fc722a1c5746ab704fb5bd2634c80a (patch)
treeb1ccc3ba0b9d97b5599b2cb8222709bdb5216bc7 /games-strategy
parentdev-java/lucene-analyzers: Obsolete for ages now and removed. (diff)
downloadseden-62546f7118fc722a1c5746ab704fb5bd2634c80a.tar.gz
seden-62546f7118fc722a1c5746ab704fb5bd2634c80a.tar.bz2
seden-62546f7118fc722a1c5746ab704fb5bd2634c80a.zip
games-strategy/glfrontier: Fixed for EAPI=7
Signed-off-by: Sven Eden <sven.eden@gmx.de>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/glfrontier/glfrontier-20060623-r4.ebuild30
1 files changed, 16 insertions, 14 deletions
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
index 806af53..e0f2fb5 100644
--- a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
+++ b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
@@ -11,18 +11,18 @@ DESCRIPTION="Frontier: Elite 2 with OpenGL support"
HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html"
SRC_URI="https://prydeworx.com/glfrontier/frontvm3-20060623.tar.bz2
- https://prydeworx.com/glfrontier/frontvm-audio-20060222.tar.bz2"
+ https://prydeworx.com/glfrontier/frontvm-audio-20060222.tar.bz2"
-
-LICENSE="GPL"
-KEYWORDS="~x86 ~amd64"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
-RDEPEND=">=media-libs/freeglut-2.6
- media-libs/libsdl
- media-libs/libogg"
+RDEPEND="
+ >=media-libs/freeglut-2.6
+ media-libs/libsdl
+ media-libs/libogg"
DEPEND="${RDEPEND}"
S=${WORKDIR}
@@ -33,17 +33,19 @@ src_prepare() {
}
src_compile() {
- cd ${S}/frontvm3-20060623
- emake -f Makefile-C || die "make install failed"
+ emake -C frontvm3-20060623 -f Makefile-C || die "make install failed"
}
src_install() {
- mv ${S}/frontvm3-20060623/frontier ${S}/frontvm3-20060623/${MY_PN}
+ mv frontvm3-20060623/frontier frontvm3-20060623/${MY_PN}
+
+ exeinto /usr/bin
+ doexe frontvm3-20060623/${MY_PN}
- dobin ${S}/frontvm3-20060623/${MY_PN}
insinto /usr/share/${MY_PN}
- doins ${S}/frontvm3-20060623/fe2.s.bin
- doins -r ${S}/frontvm-audio-20060222/*
+ doins frontvm3-20060623/fe2.s.bin
+ doins -r frontvm-audio-20060222/*
- make_desktop_entry /usr/share/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/usr/share/${MY_PN}
+ make_desktop_entry "${EPREFIX:-/}"usr/share/${MY_PN}/${MY_PN} GLFrontier \
+ ${MY_PN} Game Path=/usr/share/${MY_PN}
}