diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-03-06 22:56:11 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-03-06 22:56:11 +0000 |
commit | 2998b8761ba4500e0bf41619fc44a4c77aae5988 (patch) | |
tree | a4a6cdb43014975ccf35137cb39345abf9390352 | |
parent | Remove old version. Sanitize the ebuild code. (diff) | |
download | gentoo-2-2998b8761ba4500e0bf41619fc44a4c77aae5988.tar.gz gentoo-2-2998b8761ba4500e0bf41619fc44a4c77aae5988.tar.bz2 gentoo-2-2998b8761ba4500e0bf41619fc44a4c77aae5988.zip |
initial commit - ebuild submitted by Paul Bredbury via bug #116915
(Portage version: 2.1_pre5-r4)
-rw-r--r-- | games-arcade/sdljump/ChangeLog | 11 | ||||
-rw-r--r-- | games-arcade/sdljump/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/sdljump/files/digest-sdljump-0.91.1 | 1 | ||||
-rw-r--r-- | games-arcade/sdljump/files/sdljump-0.91.1-configure.patch | 11 | ||||
-rw-r--r-- | games-arcade/sdljump/metadata.xml | 5 | ||||
-rw-r--r-- | games-arcade/sdljump/sdljump-0.91.1.ebuild | 53 |
6 files changed, 83 insertions, 0 deletions
diff --git a/games-arcade/sdljump/ChangeLog b/games-arcade/sdljump/ChangeLog new file mode 100644 index 000000000000..e8ec45801401 --- /dev/null +++ b/games-arcade/sdljump/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-arcade/sdljump +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdljump/ChangeLog,v 1.1 2006/03/06 22:56:11 mr_bones_ Exp $ + +*sdljump-0.91.1 (06 Mar 2006) + + 06 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> + +files/sdljump-0.91.1-configure.patch, +metadata.xml, + +sdljump-0.91.1.ebuild: + initial commit - ebuild submitted by Paul Bredbury via bug #116915 + diff --git a/games-arcade/sdljump/Manifest b/games-arcade/sdljump/Manifest new file mode 100644 index 000000000000..fb9d451f33e9 --- /dev/null +++ b/games-arcade/sdljump/Manifest @@ -0,0 +1,2 @@ +MD5 ffeeac730af4d65135be001ff37fc018 files/digest-sdljump-0.91.1 67 +MD5 0939f5cdcaa9530a0f9a3b5961db7e97 sdljump-0.91.1.ebuild 962 diff --git a/games-arcade/sdljump/files/digest-sdljump-0.91.1 b/games-arcade/sdljump/files/digest-sdljump-0.91.1 new file mode 100644 index 000000000000..7c925bf0074b --- /dev/null +++ b/games-arcade/sdljump/files/digest-sdljump-0.91.1 @@ -0,0 +1 @@ +MD5 45eae4ac39c8eb153ac037c84b5df859 sdljump-0.91-1.tar.gz 1798832 diff --git a/games-arcade/sdljump/files/sdljump-0.91.1-configure.patch b/games-arcade/sdljump/files/sdljump-0.91.1-configure.patch new file mode 100644 index 000000000000..5a62d5d38763 --- /dev/null +++ b/games-arcade/sdljump/files/sdljump-0.91.1-configure.patch @@ -0,0 +1,11 @@ +--- configure.orig 2006-02-05 15:57:58.000000000 -0500 ++++ configure 2006-02-05 15:58:34.000000000 -0500 +@@ -5227,7 +5227,7 @@ + packageprefix=${prefix} + fi + +-CFLAGS="$CFLAGS -DPREFIX=\\\"$packageprefix\\\" -DDATA_PREFIX=\\\"$packageprefix/share\\\"" ++CFLAGS="$CFLAGS -DPREFIX=\\\"$packageprefix\\\" -DDATA_PREFIX=\\\"$datadir\\\"" + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' diff --git a/games-arcade/sdljump/metadata.xml b/games-arcade/sdljump/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-arcade/sdljump/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> 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 +} |