# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/sdljump/sdljump-1.0.0.ebuild,v 1.1 2006/10/03 09:23:40 nyhm Exp $ inherit eutils versionator games DESCRIPTION="XJump clone" HOMEPAGE="http://www.nongnu.org/sdljump/" SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/${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" 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 ${PN} "SDLjump" prepgamesdirs }