Portage is a package management system used by Gentoo Linux
# ChangeLog for games-fps/soldieroffortune-demo
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/ChangeLog,v 1.7 2006/12/05 18:01:00 wolf31o2 Exp $
05 Dec 2006; Chris Gianelloni
soldieroffortune-demo-0.57.ebuild:
Removing old virtual/x11 dependency.
19 Sep 2006; Chris Gianelloni
soldieroffortune-demo-0.57.ebuild:
Adding strip to RESTRICT for bug #137819.
22 May 2006; Chris Gianelloni
soldieroffortune-demo-0.57.ebuild:
Demo->(Demo) for bug #133836.
27 Apr 2006; Marien Zwart
Fixing SHA256 digest, pass four
13 Apr 2006; Chris Gianelloni
soldieroffortune-demo-0.57.ebuild:
Fixed dependencies and added amd64 support.
*soldieroffortune-demo-0.57 (12 Apr 2006)
12 Apr 2006; Chris Gianelloni
+soldieroffortune-demo-0.57.ebuild:
Initial import. Ebuild by Paul Bredbury
#120422.
DIST sof-demo.run 92496052 RMD160 923a3d4e3abaa2401df40938251f4b7654be0860 SHA1 3ba928978306b660255160be8cf952b8794ab8e1 SHA256 30f671a7e53c9005fea8ef5760e4174e7f7a31114ed5bfd6c8525ceb1bb6d929
EBUILD soldieroffortune-demo-0.57.ebuild 1650 RMD160 d074c1582cb43f1bedad7f6c40893408876126f8 SHA1 58ff07f21e0862dd6c21476dda6a2e69cb046a11 SHA256 f9bee5063c7989f0589cdcca7e41abc9e2ac344545d59f39a14864f1448bf065
MISC ChangeLog 1094 RMD160 667c3099521799d00a5dfc532d394ca7ee1bf12d SHA1 5fa8eddd6e2ff060a5d5830694024687944e8a35 SHA256 e95e5597bbfa98648ecbe8c09a3e2610d25dac76776878dfc99c4612dd688e18
MISC metadata.xml 675 RMD160 75e81f6c56cd3671bcf25f1932a69357049215d2 SHA1 d7f5ca10a89c321ec299341defcf4d0dd94e15bf SHA256 9fcdec5fe5ebdb8a27e627810da92f91169502c2a8931d58985af9e425ad488c
Soldier of Fortune is a first-person 3-D shooter based on the mercenary trade. You play as John, an ex-military mercinary who still has plenty of good friends on the inside. For a wad of bucks, you'll do the job -- no cares, no worries. Just get the gun, play for keeps, get paid, on to the next one -- that's your life. That's what you do. And you're good at it, one of the best even. But now is the time for your biggest challenge ever. This is the demo version of the game.
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57.ebuild,v 1.5 2006/12/05 18:01:00 wolf31o2 Exp $
inherit eutils games
MY_PN=${PN/soldieroffortune/sof}
DESCRIPTION="First-person shooter based on the mercenary trade"
HOMEPAGE="http://www.lokigames.com/products/sof/"
SRC_URI="mirror://lokigames/loki_demos/${MY_PN}.run"
LICENSE="LOKI-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
DEPEND="games-util/loki_patch"
RDEPEND="virtual/opengl
x86? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
media-libs/libvorbis
media-libs/libogg
media-libs/smpeg )
amd64? (
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-soundlibs )"
S=${WORKDIR}
GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}
src_unpack() {
unpack_makeself
}
src_install() {
local demo="data/demos/sof_demo"
local exe="sof-bin.x86"
loki_patch patch.dat data/ || die "loki patch failed"
insinto "${dir}"
exeinto "${dir}"
doins -r "${demo}"/* || die "doins failed"
doexe "${demo}/${exe}" || die "doexe failed"
# Replace bad library
use x86 && dosym /usr/lib/libSDL.so "${dir}"/libSDL-1.1.so.0
use amd64 && dosym /emul/linux/x86/usr/lib/libSDL.so \
"${dir}"/libSDL-1.1.so.0
games_make_wrapper ${PN} "./${exe}" "${dir}" "${dir}"
newicon "${demo}"/launch/box.png ${PN}.png || die
make_desktop_entry ${PN} "Soldier of Fortune (Demo)"
prepgamesdirs
}