diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-06 21:16:51 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-06 21:16:51 +0000 |
commit | c150fcfd0d4069361765bb700e3e382648f9a55a (patch) | |
tree | 835a599ec01aea0f69281c1761de756cc7ad233e /games-sports | |
parent | Cleanup. (diff) | |
download | gentoo-2-c150fcfd0d4069361765bb700e3e382648f9a55a.tar.gz gentoo-2-c150fcfd0d4069361765bb700e3e382648f9a55a.tar.bz2 gentoo-2-c150fcfd0d4069361765bb700e3e382648f9a55a.zip |
EAPI=2; add use-based deps
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/ultimatestunts/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild | 31 |
2 files changed, 17 insertions, 22 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog index 1dacace37446..4d17589c000e 100644 --- a/games-sports/ultimatestunts/ChangeLog +++ b/games-sports/ultimatestunts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/ultimatestunts -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.19 2008/06/23 17:30:44 mr_bones_ Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.20 2009/01/06 21:16:51 mr_bones_ Exp $ + + 06 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + ultimatestunts-0.7.5.ebuild: + EAPI=2; add use-based deps *ultimatestunts-0.7.5 (23 Jun 2008) diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild index 9dce3f676174..046d474399d8 100644 --- a/games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild +++ b/games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild,v 1.3 2008/12/08 05:52:43 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.5.ebuild,v 1.4 2009/01/06 21:16:51 mr_bones_ Exp $ +EAPI=2 inherit autotools eutils versionator games MY_P=${PN}-srcdata-$(replace_all_version_separators)1 @@ -14,9 +15,9 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nls" -RDEPEND="media-libs/libsdl +RDEPEND="media-libs/libsdl[opengl] media-libs/sdl-image - media-libs/openal + media-libs/openal[vorbis] media-libs/freealut virtual/opengl virtual/glu @@ -27,19 +28,7 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} -pkg_setup() { - games_pkg_setup - if ! built_with_use media-libs/libsdl opengl ; then - die "Please emerge libsdl with USE=opengl" - fi - if ! built_with_use --missing true media-libs/openal vorbis ; then - die "Please emerge openal with USE=vorbis" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { ecvs_clean epatch "${FILESDIR}"/${P}-paths.patch autopoint -f || die "autopoint failed" @@ -50,11 +39,13 @@ src_unpack() { AT_M4DIR=m4 eautoreconf } -src_compile() { +src_configure() { egamesconf \ --disable-dependency-tracking \ - $(use_enable nls) \ - || die + $(use_enable nls) +} + +src_compile() { emake -C trackedit libtrackedit.a || die "emake failed" emake || die "emake failed" } |