diff options
Diffstat (limited to 'games-simulation/simutrans/simutrans-0.88.5.ebuild')
-rw-r--r-- | games-simulation/simutrans/simutrans-0.88.5.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games-simulation/simutrans/simutrans-0.88.5.ebuild b/games-simulation/simutrans/simutrans-0.88.5.ebuild new file mode 100644 index 000000000000..ded103512125 --- /dev/null +++ b/games-simulation/simutrans/simutrans-0.88.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.88.5.ebuild,v 1.1 2006/03/23 19:34:05 wolf31o2 Exp $ + +inherit games + +DESCRIPTION="A free Transport Tycoon clone" +HOMEPAGE="http://www.simutrans.com/" +SRC_URI="http://64.simutrans.com/simulinux-88-05-1.zip + http://64.simutrans.com/simupak64-88-05-1.zip + http://64.simutrans.com/food64-86-06.zip + http://64.simutrans.com/waste64-86-03.zip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="media-libs/libsdl + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-sdl + )" + +S=${WORKDIR}/${PN} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + + games_make_wrapper simutrans ./simutrans "${dir}" + keepdir "${dir}/save" + cp -R * "${D}/${dir}/" || die "cp failed" + find "${D}/${dir}/"{text,font} -type f -print0 | xargs -0 chmod a-x + prepgamesdirs + fperms 2775 "${dir}/save" +} |