/[gentoo-x86]/games-action/spacetripper-demo/spacetripper-demo-1.ebuild
Gentoo

Contents of /games-action/spacetripper-demo/spacetripper-demo-1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Mon Jun 1 22:05:45 2015 UTC (5 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +4 -11 lines
clean up app-emulation/emul-linux which has been removed

(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/spacetripper-demo/spacetripper-demo-1.ebuild,v 1.17 2014/09/04 20:19:57 mr_bones_ Exp $
4
5 EAPI=5
6 inherit eutils unpacker games
7
8 MY_P="spacetripperdemo"
9 DESCRIPTION="hardcore arcade shoot-em-up"
10 HOMEPAGE="http://www.pompomgames.com/"
11 SRC_URI="http://www.btinternet.com/~bongpig/${MY_P}.sh"
12
13 LICENSE="POMPOM"
14 SLOT="0"
15 KEYWORDS="-* amd64 x86"
16 IUSE=""
17 RESTRICT="strip"
18
19 RDEPEND="
20 >=virtual/opengl-7.0-r1[abi_x86_32(-)]
21 >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-),X,video,joystick,opengl,sound]"
22
23 S=${WORKDIR}
24
25 dir=${GAMES_PREFIX_OPT}/${PN}
26 Ddir=${D}/${dir}
27
28 QA_PREBUILT="${dir}/*"
29
30 src_unpack() {
31 unpack_makeself
32 }
33
34 src_install() {
35 exeinto "${dir}"
36 doexe bin/x86/*
37 # Remove libSDL since we use the system version and our version doesn't
38 # have TEXTRELs in it.
39 rm -f "${Ddir}"/libSDL-1.2.so.0.0.5
40 sed -i -e "s:XYZZY:${dir}:" "${Ddir}/${MY_P}" || die
41
42 insinto "${dir}"
43 doins -r preview run styles README license.txt icon.xpm
44 newicon icon.xpm spacetripper-demo.png
45
46 games_make_wrapper spacetripper-demo ./spacetripperdemo "${dir}" "${dir}"
47 make_desktop_entry spacetripper-demo spacetripper-demo spacetripper-demo
48
49 prepgamesdirs
50 }

  ViewVC Help
Powered by ViewVC 1.1.20