summaryrefslogtreecommitdiff
blob: 71969fa40dd28c5be386a5581a7925a6b2e43baa (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/hugo/hugo-2.09.ebuild,v 1.6 2004/09/23 09:24:21 mr_bones_ Exp $

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"
IUSE=""

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

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

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

	exeinto "${dir}"
	doexe hugo || die

	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() {
	games_pkg_postinst
	echo
	einfo "Online Compatibility List:"
	einfo "     http://www.zeograd.com/compatibility_list.php"
}