summaryrefslogtreecommitdiff
blob: 8457a8076fed1f3bead69ba939325fee9257b159 (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
42
43
44
45
46
47
48
49
50
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit autotools git-2 games

DESCRIPTION="Gratis Free Software fighting game"
HOMEPAGE="http://plaimi.net/games/"
EGIT_REPO_URI="https://github.com/stiell/${PN}.git
    git://github.com/stiell/${PN}.git"
EGIT_COMMIT="4c169036ab2ac1bbd3bab992414a6838090f31a9"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="
	media-libs/fontconfig
	media-libs/libpng:0
	media-libs/libsdl
	media-libs/sdl-ttf
	virtual/opengl
	"

DEPEND="${RDEPEND}
	virtual/pkgconfig
	"

src_unpack() {
	git-2_src_unpack
}

src_prepare() {
	eautoreconf
}

src_configure() {
	egamesconf \
		--with-icondir=/usr/share/pixmaps \
		--with-desktopdir=/usr/share/applications
}

src_install() {
	dodoc HACKING TODO || die
	emake DESTDIR="${D}" install || die
	prepgamesdirs
}