From f028e2fbe74f1453fe4cb91736761471151b5bfe Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 2 May 2011 07:37:34 +0000 Subject: tidy; add use deps Package-Manager: portage-2.1.9.42/cvs/Linux i686 --- games-arcade/syobon/syobon-1.0.1.ebuild | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'games-arcade/syobon/syobon-1.0.1.ebuild') diff --git a/games-arcade/syobon/syobon-1.0.1.ebuild b/games-arcade/syobon/syobon-1.0.1.ebuild index 47ba202600a8..b53338567857 100644 --- a/games-arcade/syobon/syobon-1.0.1.ebuild +++ b/games-arcade/syobon/syobon-1.0.1.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/syobon/syobon-1.0.1.ebuild,v 1.1 2011/04/25 22:16:50 joker Exp $ - -EAPI="2" +# $Header: /var/cvsroot/gentoo-x86/games-arcade/syobon/syobon-1.0.1.ebuild,v 1.2 2011/05/02 07:37:34 mr_bones_ Exp $ +EAPI=2 inherit games MY_P="${PN}_${PV}_src" @@ -14,31 +13,29 @@ SRC_URI="http://download.zapek.com/software/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="media-libs/libsdl +RDEPEND="media-libs/libsdl[audio,video,joystick] media-libs/sdl-gfx - media-libs/sdl-image + media-libs/sdl-image[png] media-libs/sdl-ttf - media-libs/sdl-mixer" + media-libs/sdl-mixer[vorbis]" DEPEND="${RDEPEND} dev-util/pkgconfig" -S="${WORKDIR}/${PN}" +S=${WORKDIR}/${PN} src_compile() { - emake GAMEDATA="${GAMES_DATADIR}/${PN}" || die "make failed" + emake GAMEDATA="${GAMES_DATADIR}/${PN}" || die } src_install() { - dobin "${PN}" + dogamesbin ${PN} || die insinto "${GAMES_DATADIR}/${PN}" - doins -r BGM SE res || die "doins -r BGM SE res failed" - - dodoc README.txt || die "dodoc failed" - + doins -r BGM SE res || die + dodoc README.txt || die prepgamesdirs } -- cgit v1.2.3-65-gdbad