You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/rain-slick/rain-slick-2.3.ebuild,v 1.7 2013/04/27 17:26:33 ulm Exp $
inherit eutils games
EP=${PV:0:1}
REV=${PV:2:1}
DESCRIPTION="On the Rain-Slick Precipice of Darkness, Episode Two"
HOMEPAGE="http://rainslick.com/"
SRC_URI="http://a.pa-cdn.com/greenhouse/rainslickep${EP}_linux_r${REV}.tgz"
LICENSE="Rain-Slick LGPL-2.1+ BSD BSD-2 fmod MIT"
SLOT="${EP}"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="bindist mirror 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
)"
dir="${GAMES_PREFIX_OPT}/${PN}/ep${EP}"
QA_PREBUILT="${dir:1}/RainSlickEp2_bin
${dir:1}/linux_libs/*"
S=${WORKDIR}/RainSlickEp${EP}
src_install() {
dodir "${dir}"
cp -pPR * "${D}/${dir}/" || die
games_make_wrapper RainSlickEp${EP} "${dir}/RainSlickEp${EP}" || die
newicon rainslick.png ${PN}-${EP}.png || die
make_desktop_entry RainSlickEp${EP} "Rain-Slick Precipice of Darkness (Ep${EP})" ${PN}-${EP}
prepgamesdirs
}