blob: d4f5be4e0df331f9bfc78f32015703c32b869ff9 [file] [log] [blame]
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/rain-slick/rain-slick-1.2.ebuild,v 1.3 2008/06/17 01:58:51 vapier Exp $
inherit games
EP=${PV:0:1}
REV=${PV:2:1}
DESCRIPTION="On the Rain-Slick Precipice of Darkness, Episode One"
HOMEPAGE="http://www.playgreenhouse.com/game/HOTHG-000001-01/"
SRC_URI="http://download.playgreenhouse.com/rainslickep${EP}_linux_r${REV}.tgz"
LICENSE="as-is"
SLOT="${EP}"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="strip"
RDEPEND="sys-libs/glibc
virtual/opengl
x11-libs/libXrandr
x11-libs/libX11
x11-libs/libXext
amd64? (
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs
)"
S=${WORKDIR}/rainslickep1
src_install() {
local dir="${GAMES_PREFIX_OPT}/${PN}/ep${EP}"
dodir "${dir}"
cp -pPR * "${D}/${dir}/" || die
games_make_wrapper RainSlickEp1 "${dir}/RainSlickEp1" || die
prepgamesdirs
}