# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/gnudoku/gnudoku-0.93.ebuild,v 1.4 2007/07/01 23:21:52 nyhm Exp $ inherit eutils games MY_PN="GNUDoku" MY_P=${MY_PN}-${PV} DESCRIPTION="A program for creating and solving Su Doku puzzles" HOMEPAGE="http://www.icculus.org/~jcspray/GNUDoku" SRC_URI="http://www.icculus.org/~jcspray/GNUDoku/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" RESTRICT="test" DEPEND=">=dev-cpp/gtkmm-2.6" S=${WORKDIR}/${MY_P} src_install() { dogamesbin GNUDoku || die "dogamesbin failed" newicon GNUDoku.png ${PN}.png make_desktop_entry ${MY_PN} ${MY_PN} prepgamesdirs }