diff options
Diffstat (limited to 'app-emulation/vice/vice-1.14-r1.ebuild')
-rw-r--r-- | app-emulation/vice/vice-1.14-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-emulation/vice/vice-1.14-r1.ebuild b/app-emulation/vice/vice-1.14-r1.ebuild new file mode 100644 index 000000000000..21cbff71a65f --- /dev/null +++ b/app-emulation/vice/vice-1.14-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-1.14-r1.ebuild,v 1.1 2004/06/15 00:44:50 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="The Versatile Commodore 8-bit Emulator" +HOMEPAGE="http://www.viceteam.org/" +SRC_URI="ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="sdl nls gnome arts" + +RDEPEND="virtual/x11 + sdl? ( media-libs/libsdl ) + gnome? ( gnome-base/libgnomeui ) + arts? ( kde-base/arts )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + use nls && epatch "${FILESDIR}/${PV}-po-Makefile.patch" + # bug #53903 + # http://www.trikaliotis.net/vicekb/vsa-2004-1 + epatch "${FILESDIR}/${PV}-console-security.patch" +} + +src_compile() { + egamesconf \ + --enable-fullscreen \ + --disable-dependency-tracking \ + $(use_with sdl) \ + $(use_with gnome gnomeui) \ + $(use_with arts) \ + $(use_enable nls) \ + || die + emake || die "emake failed" +} + +src_install() { + local docdir="${D}${GAMES_LIBDIR}/${PN}/doc" + + make DESTDIR="${D}" install || die "make install failed" + dohtml "${docdir}/"* || die "dohtml failed" + dodoc \ + AUTHORS ChangeLog FEEDBACK README \ + "${docdir}/"{BUGS,NEWS,PETdoc.txt,TODO} \ + "${docdir}/"{cbm_basic_tokens.txt,drive_info.txt,mon.txt,serial.txt} + rm -rf "${docdir}" + prepgamesdirs +} |