/[gentoo-x86]/app-emulation/aranym/aranym-0.9.10.ebuild
Gentoo

Contents of /app-emulation/aranym/aranym-0.9.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Sep 1 15:00:03 2010 UTC (3 years, 11 months ago) by xmw
Branch: MAIN
Version bump, fix bug 332437 and bug 294859
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 xmw 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-emulation/aranym/aranym-0.9.9.ebuild,v 1.1 2010/01/08 21:43:58 patrick Exp $
4    
5     EAPI=2
6    
7     inherit flag-o-matic eutils
8    
9     DESCRIPTION="Atari Running on Any Machine, a VM running Atari ST/TT/Falcon OS and TOS/GEM applications"
10     HOMEPAGE="http://aranym.sourceforge.net/"
11     SRC_URI="mirror://sourceforge/aranym/${P}.tar.gz
12     mirror://sourceforge/aranym/afros812.zip"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16     KEYWORDS="~amd64 ~ppc ~x86"
17     IUSE="opengl"
18    
19     RDEPEND="media-libs/libsdl
20     games-emulation/emutos
21     opengl? ( virtual/opengl )"
22     DEPEND="${RDEPEND}
23     app-arch/unzip"
24    
25     src_configure() {
26     filter-flags -mpowerpc-gfxopt
27    
28     local myconf=""
29     if [[ ${ARCH} == x86 ]]; then
30     myconf="${myconf} --enable-jit-compiler"
31     fi
32    
33     econf $(use_enable opengl) ${myconf}
34     }
35    
36     src_install() {
37     emake DESTDIR="${D}" INSTALL_PROGRAM="install" install || die "installation failed"
38    
39     insinto /usr/share/${PN}
40     doins -r "${WORKDIR}"/afros || die
41    
42     dodoc "${D}"/usr/share/doc/${PN}/* || die
43     rm -r "${D}"/usr/share/doc/${PN} || die
44     }
45    
46     pkg_postinst() {
47     elog "To run ARAnyM with AFROS type: aranym --config /usr/share/aranym/afros/config"
48     }

  ViewVC Help
Powered by ViewVC 1.1.20