blob: ea13aefa4ff4965e89580b6a079142634b1d8363 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
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="HPND"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
RDEPEND=">=media-libs/freeglut-2.6
media-libs/libsdl
media-libs/libogg"
DEPEND="${RDEPEND}"
S=${WORKDIR}
src_prepare() {
epatch "${FILESDIR}/${MY_P}-fix_missing_math_lib.patch"
eapply_user
}
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}"
newbin "${S}/frontvm3-20060623/frontier" ${MY_PN}
insinto "/usr/share/${MY_PN}"
doins "${S}/frontvm3-20060623/fe2.s.bin"
doins -r "${S}/frontvm-audio-20060222/*"
make_desktop_entry /usr/share/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/usr/share/${MY_PN}
}
|