# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit games DESCRIPTION="launcher and games downloader for INSTEAD quest interpreter" HOMEPAGE="http://instead-launcher.googlecode.com/" SRC_URI="http://instead-launcher.googlecode.com/files/${P/r-/r_}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=x11-libs/qt-gui-4.0 games-engines/instead" src_prepare() { sed -i -e 's|/usr/local/bin/sdl-instead|/usr/games/bin/sdl-instead|g' platform.cpp qmake PREFIX="${D}/usr/games" || die "qmake faild" } src_build() { emake DESTDIR="${D}/usr/games" || "emake failed" } src_install() { emake DESTDIR="${D}/usr/games" install || die "emake install failed" }