summaryrefslogtreecommitdiff
blob: a4f609c63bdec53d8f587296f49b523ff3881034 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3
inherit eutils games

DESCRIPTION="Hanafuda card game"
HOMEPAGE="http://sdlhana.nongnu.org/"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/libsdl"
RDEPEND="${DEPEND}"

src_install(){
	emake DESTDIR="${D}" install || die "emake install failed"
	doicon src/${PN}.xpm
	make_desktop_entry ${PN} "SDL Hana"
	prepgamesdirs
}