# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/gnujump/gnujump-1.0.0.ebuild,v 1.2 2008/09/18 09:19:35 tupone Exp $ inherit eutils games MY_PN=sdljump MY_P=${MY_PN}-${PV} DESCRIPTION="Xjump clone with added features" HOMEPAGE="http://www.gnu.org/software/gnujump/" SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer virtual/opengl virtual/glu x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp x11-libs/libXext" S="${WORKDIR}"/${MY_P} src_unpack() { unpack ${A} cd "${S}" sed -i \ -e 's/\\n//' sdljump.6 \ || die "sed failed" epatch "${FILESDIR}"/${P}-configure.patch } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog README newicon skins/xjump/hero1.0.png ${PN}.png make_desktop_entry ${MY_PN} "SDLjump" prepgamesdirs }