blob: 570ead4da79866dd13978c9dde2738213e86a3eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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.4 2011/07/19 19:45:49 maekke Exp $
EAPI=2
inherit games
MY_P="${PN}_${PV}_src"
DESCRIPTION="Syobon Action (also known as Cat Mario or Neko Mario)"
HOMEPAGE="http://zapek.com/?p=189"
SRC_URI="http://download.zapek.com/software/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="media-libs/libsdl[audio,video,joystick]
media-libs/sdl-gfx
media-libs/sdl-image[png]
media-libs/sdl-ttf
media-libs/sdl-mixer[vorbis]"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${PN}
src_compile() {
emake GAMEDATA="${GAMES_DATADIR}/${PN}" || die
}
src_install() {
dogamesbin ${PN} || die
insinto "${GAMES_DATADIR}/${PN}"
doins -r BGM SE res || die
dodoc README.txt || die
prepgamesdirs
}
|