diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-09 19:38:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-09 19:38:12 +0000 |
commit | 9649237275e9e0ea9ecfc0e3be077171f7a85a48 (patch) | |
tree | 256b49a375d5c7e2602073a8b46b63d9eb3e85f7 /games-arcade | |
parent | Removing old (diff) | |
download | gentoo-2-9649237275e9e0ea9ecfc0e3be077171f7a85a48.tar.gz gentoo-2-9649237275e9e0ea9ecfc0e3be077171f7a85a48.tar.bz2 gentoo-2-9649237275e9e0ea9ecfc0e3be077171f7a85a48.zip |
EAPI=2; add use-based dep for media-libs/sdl-mixer
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/defendguin/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/defendguin/defendguin-0.0.11.ebuild | 18 |
2 files changed, 11 insertions, 15 deletions
diff --git a/games-arcade/defendguin/ChangeLog b/games-arcade/defendguin/ChangeLog index 1e12ece5b15d..3d34c956bd19 100644 --- a/games-arcade/defendguin/ChangeLog +++ b/games-arcade/defendguin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/defendguin -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/ChangeLog,v 1.12 2007/04/09 21:57:46 welp Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/ChangeLog,v 1.13 2009/01/09 19:38:12 mr_bones_ Exp $ + + 09 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + defendguin-0.0.11.ebuild: + EAPI=2; add use-based dep for media-libs/sdl-mixer 09 Apr 2007; Peter Weller <welp@gentoo.org> defendguin-0.0.11.ebuild: Keyworded ~x86-fbsd wrt bug 173405 diff --git a/games-arcade/defendguin/defendguin-0.0.11.ebuild b/games-arcade/defendguin/defendguin-0.0.11.ebuild index b24050aeb088..8b9f63ad582e 100644 --- a/games-arcade/defendguin/defendguin-0.0.11.ebuild +++ b/games-arcade/defendguin/defendguin-0.0.11.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/defendguin-0.0.11.ebuild,v 1.6 2007/04/09 21:57:46 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/defendguin-0.0.11.ebuild,v 1.7 2009/01/09 19:38:12 mr_bones_ Exp $ +EAPI=2 inherit eutils toolchain-funcs games DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme" @@ -13,19 +14,10 @@ SLOT="0" KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd" IUSE="" -DEPEND="media-libs/sdl-mixer +DEPEND="media-libs/sdl-mixer[mikmod] media-libs/libsdl" -pkg_setup() { - if ! built_with_use media-libs/sdl-mixer mikmod; then - die "Please build media-libs/sdl-mixer with USE=mikmod" - fi - games_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e "1i CC=$(tc-getCC)" \ -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \ |