diff options
author | A.C.Heron (cmpayc) <acheron@front.ru> | 2009-09-24 21:01:09 +0000 |
---|---|---|
committer | A.C.Heron (cmpayc) <acheron@front.ru> | 2009-09-24 21:01:09 +0000 |
commit | 3807eb8f7c82c4c9b95bd63f7610ae10248436de (patch) | |
tree | 34184e6d5de1959b5fb9dceeaa2d7e0eedce0d05 /games-engines/instead/instead-9999.ebuild | |
parent | gnome-extra/nautilus-dropbox: Added kernel configuration option check. Ebuild... (diff) | |
download | sunrise-3807eb8f7c82c4c9b95bd63f7610ae10248436de.tar.gz sunrise-3807eb8f7c82c4c9b95bd63f7610ae10248436de.tar.bz2 sunrise-3807eb8f7c82c4c9b95bd63f7610ae10248436de.zip |
games-engines/instead: Live SVN ebuild
svn path=/sunrise/; revision=9286
Diffstat (limited to 'games-engines/instead/instead-9999.ebuild')
-rw-r--r-- | games-engines/instead/instead-9999.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games-engines/instead/instead-9999.ebuild b/games-engines/instead/instead-9999.ebuild new file mode 100644 index 000000000..bfdb90b79 --- /dev/null +++ b/games-engines/instead/instead-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit games subversion + +DESCRIPTION="INterpreter for Simple TExt ADventures" +HOMEPAGE="http://instead.googlecode.com/" +ESVN_REPO_URI="http://instead.googlecode.com/svn/trunk/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="=dev-lang/lua-5.1* + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-ttf" +RDEPEND="${DEPEND}" + +src_prepare() { + cp Rules.make.system Rules.make || die "Cannot copy Rules.make.system" + sed -i Rules.make \ + -e 's/lua5.1/lua/' \ + -e 's:PREFIX=.*:PREFIX=/usr:' \ + -e 's:BIN=.*:BIN=$(DESTDIR)'"${GAMES_BINDIR}:" \ + -e 's:STEADPATH=$(DESTDIR)$(PREFIX)/share:STEADPATH=$(DESTDIR)'"${GAMES_DATADIR}:" \ + -e 's:DOCPATH=$(DESTDIR)$(PREFIX)/share:DOCPATH=$(DESTDIR)'"${GAMES_DATADIR}:" || die "Cannot patch Rules.make" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + prepgamesdirs +} |