summaryrefslogtreecommitdiff
blob: 70c312c9ad5758f728ede359965442f2c9c4456b (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

inherit games

DESCRIPTION="PC-Engine (TG16) emulator for linux"
HOMEPAGE="http://www.zeograd.com/"
SRC_URI="http://www.zeograd.com/download/hugo_lin_${PV//.}.tgz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

RDEPEND="virtual/x11
	virtual/glibc
	media-libs/libsdl"

S=${WORKDIR}/hugo-${PV}

src_install() {
	local dir=${GAMES_PREFIX_OPT}/${PN}
	dodir ${dir}

	exeinto ${dir}
	doexe hugo

	insinto ${dir}/roms
	doins dracx.hcd flipit.pce

	insinto ${dir}/cfg
	doins hugo.ini

	dodoc *.fr *.txt *.es changes faq

	games_make_wrapper hugo ./hugo ${dir}

	prepgamesdirs
}

pkg_postinst() {
	einfo "Online Compatibility List:"
	einfo "     http://www.zeograd.com/compatibility_list.php"
}