55 lines
1.4 KiB
Bash
55 lines
1.4 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/games-action/mutantstorm-demo/mutantstorm-demo-1.33.ebuild,v 1.17 2014/10/13 10:16:43 mgorny Exp $
|
|
|
|
EAPI=5
|
|
inherit eutils unpacker games
|
|
|
|
DESCRIPTION="shoot through crazy psychedelic 3D environments"
|
|
HOMEPAGE="http://www.pompomgames.com/"
|
|
SRC_URI="ftp://ggdev-1.homelan.com/mutantstorm/MutantStormDemo_${PV/./_}.sh.bin"
|
|
|
|
LICENSE="POMPOM"
|
|
SLOT="0"
|
|
KEYWORDS="-* ~amd64 ~x86"
|
|
IUSE=""
|
|
RESTRICT="strip"
|
|
|
|
RDEPEND="sys-libs/lib-compat
|
|
|| (
|
|
(
|
|
media-libs/libsdl[abi_x86_32(-)]
|
|
x11-libs/libX11[abi_x86_32(-)]
|
|
x11-libs/libXext[abi_x86_32(-)]
|
|
virtual/opengl[abi_x86_32(-)]
|
|
)
|
|
amd64? (
|
|
app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
|
|
app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
|
|
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
|
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
|
)
|
|
)"
|
|
|
|
S=${WORKDIR}
|
|
|
|
dir=${GAMES_PREFIX_OPT}/${PN}
|
|
Ddir=${D}/${dir}
|
|
QA_PREBUILT="${dir:1}/mutantstorm-bin"
|
|
|
|
src_install() {
|
|
insinto "${dir}"
|
|
doins -r menu script styles
|
|
|
|
exeinto "${dir}"
|
|
doexe bin/Linux/x86/*
|
|
# Remove libSDL since we use the system version and our version doesn't
|
|
# have TEXTRELs in it.
|
|
rm -f "${Ddir}"/libSDL-1.2.so.0.0.5
|
|
games_make_wrapper mutantstorm-demo ./mutantstormdemo "${dir}" "${dir}"
|
|
|
|
insinto "${dir}"
|
|
doins README.txt buy_me mutant.xpm pompom readme.htm
|
|
|
|
prepgamesdirs
|
|
}
|