You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
984 B
49 lines
984 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=8
|
||
3 years ago
|
|
||
3 years ago
|
inherit desktop toolchain-funcs
|
||
8 years ago
|
|
||
|
DESCRIPTION="Simulated obstacle course for automobiles"
|
||
|
HOMEPAGE="http://www.stolk.org/stormbaancoureur/"
|
||
|
SRC_URI="http://www.stolk.org/stormbaancoureur/download/${P}.tar.gz"
|
||
3 years ago
|
S="${WORKDIR}/${P}/src-stormbaancoureur"
|
||
8 years ago
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
8 years ago
|
|
||
|
DEPEND="
|
||
3 years ago
|
>=dev-games/ode-0.8[-double-precision]
|
||
8 years ago
|
media-libs/alsa-lib
|
||
|
media-libs/freeglut
|
||
|
>=media-libs/plib-1.8.4
|
||
|
virtual/glu
|
||
|
virtual/opengl"
|
||
3 years ago
|
RDEPEND="${DEPEND}"
|
||
8 years ago
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-gentoo.patch
|
||
3 years ago
|
"${FILESDIR}"/${P}-clang.patch
|
||
8 years ago
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
|
||
|
sed -ie "s:GENTOODIR:/usr/share/${PN}:" main.cxx || die
|
||
|
}
|
||
|
|
||
3 years ago
|
src_compile() {
|
||
|
tc-export CXX
|
||
|
emake LIBDIRNAME=$(get_libdir)
|
||
|
}
|
||
|
|
||
8 years ago
|
src_install() {
|
||
|
dobin ${PN}
|
||
|
insinto /usr/share/${PN}
|
||
|
doins -r images/ models/ sounds/ shaders/
|
||
|
dodoc JOYSTICKS README TODO
|
||
|
make_desktop_entry ${PN} "Stormbaan Coureur"
|
||
|
}
|