# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ltris-1.0.5-r1.ebuild,v 1.1 2003/10/26 06:40:28 mr_bones_ Exp $ inherit games DESCRIPTION="very polished Tetris clone" HOMEPAGE="http://lgames.sourceforge.net/" SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc" DEPEND=">=media-libs/libsdl-1.1.5 media-libs/sdl-mixer" src_compile() { egamesconf \ --with-highscore-path="${GAMES_STATEDIR}" \ --datadir="${GAMES_DATADIR_BASE}" || die emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS README TODO ChangeLog || die "dodoc failed" prepgamesdirs }