diff options
author | 2016-09-29 16:49:35 -0500 | |
---|---|---|
committer | 2016-09-29 16:50:30 -0500 | |
commit | 6a26a6d75ad86729649dfe694cb86ba720a35ae5 (patch) | |
tree | 824d5e7272b0a3dc3465f332c75d4d52ca702cba /games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild | |
parent | games-sports/speed-dreams: remove deprecated games eclass (diff) | |
download | gentoo-6a26a6d75ad86729649dfe694cb86ba720a35ae5.tar.gz gentoo-6a26a6d75ad86729649dfe694cb86ba720a35ae5.tar.bz2 gentoo-6a26a6d75ad86729649dfe694cb86ba720a35ae5.zip |
games-sports/stormbaancoureur: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild')
-rw-r--r-- | games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild b/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild new file mode 100644 index 00000000000..08683c7a1a3 --- /dev/null +++ b/games-sports/stormbaancoureur/stormbaancoureur-2.1.6-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="Simulated obstacle course for automobiles" +HOMEPAGE="http://www.stolk.org/stormbaancoureur/" +SRC_URI="http://www.stolk.org/stormbaancoureur/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + >=dev-games/ode-0.8 + media-libs/alsa-lib + media-libs/freeglut + >=media-libs/plib-1.8.4 + virtual/glu + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P}/src-${PN} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + + sed -ie "s:GENTOODIR:/usr/share/${PN}:" main.cxx || die +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r images/ models/ sounds/ shaders/ + dodoc JOYSTICKS README TODO + make_desktop_entry ${PN} "Stormbaan Coureur" +} |