# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Xpuyopuyo is a Tetris-like game in which the object is \ to match four or more blocks of the same color." HOMEPAGE="http://freshmeat.net/projects/xpuyopuyo" SRC_URI="http://freshmeat.net/redir/${PN}/12109/url_tgz/${PN}-latest.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="X milkmod shared static fast-install network aibreed profiling" DEPEND="=x11-libs/gtk+-1.2* gnome? ( gnome-base/libgnome ) X? (x11-base/xorg-x11) lisp-ai? (dev-lisp/clips) milkmod? ( media-sound/mikmod )" src_compile() { egamesconf \ --without-gnome \ $(use_with X x) \ $(use_enable aibreed) \ $(use_enable network) \ $(use_enable profiling) \ $(use_enable shared) \ $(use_enable static) \ || die "econf failed" } src_install() { egamesinstall || die "make failed" dodoc AUTHORS TODO NEWS ChangeLog prepgamesdirs }