summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-02-04 09:05:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-02-04 09:05:02 +0000
commit47047934d0303e964b47b986c4946689dfbcc831 (patch)
tree24712681cc344a15585e888a8d15804d4ea9fc3b /games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild
parentVersion bump. Always add DDS shortcut (diff)
downloadgentoo-2-47047934d0303e964b47b986c4946689dfbcc831.tar.gz
gentoo-2-47047934d0303e964b47b986c4946689dfbcc831.tar.bz2
gentoo-2-47047934d0303e964b47b986c4946689dfbcc831.zip
version bump
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild')
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild
new file mode 100644
index 000000000000..a4fca80b97f0
--- /dev/null
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild,v 1.1 2011/02/04 09:05:02 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils versionator games
+
+MY_P=${PN}-srcdata-$(replace_all_version_separators)1
+DESCRIPTION="Remake of the famous Stunts game"
+HOMEPAGE="http://www.ultimatestunts.nl/"
+SRC_URI="mirror://sourceforge/ultimatestunts/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="media-libs/libsdl[joystick,opengl,video]
+ media-libs/sdl-image
+ >=media-libs/openal-1
+ media-libs/libvorbis
+ media-libs/freealut
+ virtual/opengl
+ virtual/glu
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ ecvs_clean
+ epatch "${FILESDIR}"/${P}-paths.patch
+ autopoint -f || die "autopoint failed"
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-openal \
+ $(use_enable nls)
+ sed -i \
+ -e "/^datadir/s:= .*:= ${GAMES_DATADIR}/${PN}:" \
+ ${PN}.conf \
+ || die
+}
+
+src_compile() {
+ emake -C trackedit libtrackedit.a || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ newicon data/cars/diablo/steer.png ${PN}.png || die
+ make_desktop_entry ustunts "Ultimate Stunts" || die
+ dodoc AUTHORS README
+ prepgamesdirs
+}