initial commit - ebuild submitted by eGore via bug #66503
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 15 Dec 2004 09:48:43 +0000 (09:48 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 15 Dec 2004 09:48:43 +0000 (09:48 +0000)
games-arcade/ppracer/ChangeLog [new file with mode: 0644]
games-arcade/ppracer/files/digest-ppracer-0.2.1 [new file with mode: 0644]
games-arcade/ppracer/metadata.xml [new file with mode: 0644]
games-arcade/ppracer/ppracer-0.2.1.ebuild [new file with mode: 0644]

diff --git a/games-arcade/ppracer/ChangeLog b/games-arcade/ppracer/ChangeLog
new file mode 100644 (file)
index 0000000..a4e56ae
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for games-arcade/ppracer
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ChangeLog,v 1.1 2004/12/15 09:48:43 mr_bones_ Exp $
+
+*ppracer-0.2.1 (15 Dec 2004)
+
+  15 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +ppracer-0.2.1.ebuild:
+  initial commit - ebuild submitted by eGore via bug #66503
+
diff --git a/games-arcade/ppracer/files/digest-ppracer-0.2.1 b/games-arcade/ppracer/files/digest-ppracer-0.2.1
new file mode 100644 (file)
index 0000000..3fe8a1f
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 a93f22e6b53be4f599db06d4acb0ddb7 ppracer-data-0.2.1.tar.bz2 17345506
+MD5 d35235f2d17cea3b527de95e18abe959 ppracer-0.2.1-2.tar.bz2 321117
diff --git a/games-arcade/ppracer/metadata.xml b/games-arcade/ppracer/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -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/ppracer/ppracer-0.2.1.ebuild b/games-arcade/ppracer/ppracer-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..3397a36
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ppracer-0.2.1.ebuild,v 1.1 2004/12/15 09:48:43 mr_bones_ Exp $
+
+inherit flag-o-matic gnuconfig games
+
+DESCRIPTION="take on the role of Tux, the Linux Penguin, as he races down steep, snow-covered mountains"
+HOMEPAGE="http://developer.berlios.de/projects/ppracer/"
+SRC_URI="http://download.berlios.de/ppracer/${PN}-data-${PV}.tar.bz2
+               http://download.berlios.de/ppracer/${P}-2.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X"
+
+DEPEND="virtual/opengl
+       virtual/glu
+       X? ( virtual/x11 )
+       >=dev-lang/tcl-8.4
+       media-libs/libsdl
+       media-libs/sdl-mixer
+       media-libs/libpng
+       sys-libs/zlib"
+
+src_unpack() {
+       unpack ${P}-2.tar.bz2
+       cd "${S}"
+       unpack ${PN}-data-${PV}.tar.bz2
+
+       gnuconfig_update
+       autoconf || die "autoconf failed"
+}
+
+src_compile() {
+       # alpha needs -mieee for this game to avoid FPE
+       use alpha && append-flags -mieee
+
+       egamesconf \
+               --disable-dependency-tracking \
+               --with-data-dir="${GAMES_DATADIR}/${PN}" \
+               $(use_with X x) \
+               || die
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "install failed"
+
+       dodir "${GAMES_DATADIR}/${PN}"
+       cp -r ${PN}-data-${PV}/* "${D}/${GAMES_DATADIR}/${PN}/" \
+               || die "cp failed"
+
+       dodoc AUTHORS ChangeLog
+       dohtml -r html/*
+       prepgamesdirs
+}