/[gentoo-x86]/games-emulation/xe/xe-2.16.2.ebuild
Gentoo

Contents of /games-emulation/xe/xe-2.16.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Dec 21 07:53:22 2012 UTC (20 months ago) by tupone
Branch: MAIN
Changes since 1.4: +11 -12 lines
Use QA_PREBUILT. Bug #428546
Migrate to EAPI 4

(Portage version: 2.1.11.38/cvs/Linux i686, signed Manifest commit with key 0145142D)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-emulation/xe/xe-2.16.2.ebuild,v 1.4 2012/05/04 04:38:39 jdhore Exp $
4
5 EAPI=4
6 inherit games
7
8 DESCRIPTION="a multi system emulator for many console and handheld video game systems"
9 HOMEPAGE="http://www.xe-emulator.com/"
10 SRC_URI="amd64? ( http://www.xe-emulator.com/files/${PN}-x86-64-bin.${PV}.tar.bz2 )
11 x86? ( http://www.xe-emulator.com/files/${PN}-x86-32-bin.${PV}.tar.bz2 )"
12
13 LICENSE="as-is"
14 SLOT="0"
15 KEYWORDS="-* amd64 x86"
16 IUSE=""
17 RESTRICT="strip"
18
19 RDEPEND="x11-libs/libXv
20 x11-libs/libXinerama
21 x11-libs/libXxf86vm
22 sys-libs/zlib
23 media-libs/alsa-lib
24 x11-libs/gtk+:2"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig"
27
28 dir=${games_get_libdir}/${PN}
29
30 QA_PREBUILT="${dir:1}/modules/*
31 ${GAMES_BINDIR:1}/xe.bin"
32
33 src_unpack() {
34 unpack ${A}
35 mv -v * ${P} || die
36 }
37
38 src_prepare() {
39 epatch "${FILESDIR}"/${P}-gentoo.patch
40 }
41
42 src_install() {
43 newgamesbin xe xe.bin
44 newgamesbin "${FILESDIR}"/xe-${PV} xe
45 sed -i \
46 -e "s:GENTOODIR:$(games_get_libdir)/${PN}:" "${D}/${GAMES_BINDIR}/xe" \
47 || die "sed failed"
48 insinto "$(games_get_libdir)"/${PN}
49 doins -r modules/ rc/
50 keepdir "$(games_get_libdir)"/${PN}/bios
51 dodoc README.txt
52 dohtml manual.html
53 prepgamesdirs
54 }

  ViewVC Help
Powered by ViewVC 1.1.20