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.
gentoo-overlay/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106.eb...

39 lines
995 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils games
DESCRIPTION="A classic role-playing game"
HOMEPAGE="http://basiliskgames.com/eschalon-book-i"
SRC_URI="https://dev.gentoo.org/~calchan/distfiles/${P}.tar.gz"
LICENSE="eschalon-book-1-demo"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="strip"
QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/Eschalon Book I Demo"
RDEPEND="
>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXxf86vm[abi_x86_32(-)]
virtual/glu[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]"
S="${WORKDIR}/Eschalon Book I Demo"
src_install() {
insinto "${GAMES_PREFIX_OPT}/${PN}"
doins -r data music sound *pdf *pak help.txt
exeinto "${GAMES_PREFIX_OPT}/${PN}"
doexe "Eschalon Book I Demo"
make_desktop_entry ${PN} "Eschalon: Book I (Demo)"
games_make_wrapper ${PN} "\"./Eschalon Book I Demo\"" "${GAMES_PREFIX_OPT}/${PN}"
prepgamesdirs
}