diff options
Diffstat (limited to 'games-arcade/sdljump/sdljump-0.91.1.ebuild')
-rw-r--r-- | games-arcade/sdljump/sdljump-0.91.1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/games-arcade/sdljump/sdljump-0.91.1.ebuild b/games-arcade/sdljump/sdljump-0.91.1.ebuild new file mode 100644 index 000000000000..6bb77019dc92 --- /dev/null +++ b/games-arcade/sdljump/sdljump-0.91.1.ebuild @@ -0,0 +1,53 @@ +# 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-0.91.1.ebuild,v 1.1 2006/03/06 22:56:11 mr_bones_ Exp $ + +inherit versionator eutils games + +MY_PV=$(replace_version_separator 2 '-') + +DESCRIPTION="XJump clone" +HOMEPAGE="http://sdljump.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="sys-libs/zlib + >=media-libs/jpeg-6b-r5 + >=media-libs/libpng-1.2.8 + >=media-libs/libsdl-1.2.8-r1 + >=media-libs/sdl-image-1.2.3-r1 + >=media-libs/tiff-3.7.3 + virtual/opengl + || ( + ( + media-libs/mesa + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext ) + virtual/x11 )" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's/\\n//' sdljump.6 \ + || die "sed failed" + epatch "${FILESDIR}"/${P}-configure.patch +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO + + newicon skins/xjump/hero1.0.png ${PN}.png + make_desktop_entry ${PN} "SDL Jump" + + prepgamesdirs +} |