Portage is a package management system used by Gentoo Linux
# ChangeLog for games-simulation/bcs-demo
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/ChangeLog,v 1.8 2007/09/29 13:23:23 angelos Exp $
29 Sep 2007; Christoph Mende
Added ~amd64
06 Dec 2006; Chris Gianelloni
Remove old virtual/x11 dependency.
19 Sep 2006; Chris Gianelloni
Adding strip to RESTRICT for bug #137819.
24 May 2006; Michael Sterrett
fix HOMEPAGE for bug #134216
12 May 2006; Chris Gianelloni
Fixed dependencies for modular X and changed to use binary libopenal.so.0
instead of the system one, for compatibility with the new split
openal/freealut.
18 Apr 2006; Chris Gianelloni
Changed to use GAMES_CHECK_LICENSE and some general cleanup.
*bcs-demo-1.3 (17 Apr 2006)
17 Apr 2006; Chris Gianelloni
+bcs-demo-1.3.ebuild:
Moved from games-simulation/bcsdemo to games-simulation/bcs-demo.
26 Sep 2005; Chris Gianelloni
Making games last on inherit line.
21 Sep 2005; Chris Gianelloni
Changed check_license to explicitly list license to check.
*bcsdemo-1.3 (07 Oct 2003)
07 Oct 2003; Mike Frysinger
Initial import. Ebuild submitted by me.
DIST bcsdemo_v1_3.sh.bin 5965217 RMD160 ee9af7683c389b2ed211a9c7db8fd7a94c135480 SHA1 1809cb1bfe175f3f0d5eb0766af34843e62c4120 SHA256 1e23f1fd2ec95e27c56037761c25e3af1ef1f23365540434b12e8b31527dbad7
DIST openal-alan-hack-0.0.1.tar.gz 86168 RMD160 edaa7fe9715837a340c7cb96585707557481c8a3 SHA1 ebd8a6eb1fbd65f19aa39722486a68b8e9ad539e SHA256 86e09a5d43461031094c1a09382b369c6f8e231e644dde9d98b7b35fb2e0767a
EBUILD bcs-demo-1.3.ebuild 1613 RMD160 0d395a57fbf395f753ed46fc3bf139575d2f4295 SHA1 c876f65208c2a25201507966b686585f58004c08 SHA256 0486299270eddc26c3cdfded87c2250c5a1e78e40d3ecb1bfb9fc59e838824cb
MISC ChangeLog 1592 RMD160 f65ebab275b80b4ce7f5336a6d57d96e26fda1a6 SHA1 67f7f4962534be2018564ce16dfe73430bb439cd SHA256 63c5bb3fc564a69b04dc1d0832b5f3ccd9b4a0eff6bad1ea1d154bd6b7ca2b8a
MISC metadata.xml 1382 RMD160 23faa78cf6c0c012809ddaf3105d512a2d89df88 SHA1 9d6f222bb9d9f07440a3bca5fdbf97f6076de531 SHA256 fa1e807c2f064f620bf19349e1bae37598551369895e391a506e93528547f2c1
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/bcs-demo-1.3.ebuild,v 1.7 2007/09/29 13:23:23 angelos Exp $
inherit eutils games
DESCRIPTION="design and build bridges and then stress test them with trains"
HOMEPAGE="http://www.garagegames.com/pg/product/view.php?id=17"
SRC_URI="ftp://ggdev-1.homelan.com/bcs/bcsdemo_v${PV/./_}.sh.bin
http://www.highprogrammer.com/alan/pfx2/openal-alan-hack-0.0.1.tar.gz"
LICENSE="BCS"
SLOT="0"
KEYWORDS="-* ~amd64 x86"
RESTRICT="strip"
IUSE=""
RDEPEND="sys-libs/glibc
virtual/opengl
x86? (
media-libs/libsdl
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp )
amd64? (
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-sdl )"
S=${WORKDIR}
GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}
src_unpack() {
unpack_makeself bcsdemo_v${PV/./_}.sh.bin
unpack openal-alan-hack-0.0.1.tar.gz
}
src_install() {
dodir "${dir}" "${GAMES_BINDIR}"
tar -zxf bcsdemo.tar.gz -C "${Ddir}" || die "extracting bcsdemo.tar.gz"
rm -f "${Ddir}"/bcs-linux-openal-fixer.sh
exeinto "${dir}"
# doexe bin/Linux/x86/rungame.sh || die
# exeinto ${dir}/lib
mv "${Ddir}"/bcs "${Ddir}"/bcs-bin
newexe libopenal.so.0.0.6 libopenal.so.0 || die
echo '#!/bin/bash' >> "${Ddir}"/bcs
echo 'LD_PRELOAD="./libopenal.so.0" ./bcs-bin' >> "${Ddir}"/bcs
fperms 750 "${dir}"/bcs
games_make_wrapper bcs-demo ./bcs "${dir}" "${dir}"
insinto "${dir}"
doins *.cfg || die
dodoc readme* || die
prepgamesdirs
}
Building a bridge that doesn't break is what its all about, although watching
your bridge creation break and plunge a train into the watery depths below can be
half the fun. In the Bridge Construction Set you design and build bridges and
then stress test them to see how your creations hold up under pressure. If when
test vehicles pass over your bridge they make it safely across you know you've
succeeded. If they plummet into the river you know you need to go back to the
drawing board.
The robust physics deployed in the Bridge Construction Set let you build a wide
variety of bridges that can span the river. The 3D graphics allow you to view
your bridge from any angle including a first person train view - its like being
strapped to the front of the train when your bridge is first tested (if this
happened in real life I think we might have engineers checking all their bridges
in a simulator).
The Bridge Construction Set includes many types of bridge building levels in
varying degrees of difficulty from simple to complex with a tutorial secition to
get you started. A Level Editor is also included so you can create your own
levels and trade them with others.