# 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ChangeLog,v 1.2 2004/12/28 22:57:59 mr_bones_ Exp $
+
+*ppracer-0.2.2 (28 Dec 2004)
+
+ 28 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +ppracer-0.2.2.ebuild:
+ version bump
*ppracer-0.2.1 (15 Dec 2004)
MD5 66b5009e94a901142fda2200e6a628c4 ppracer-0.2.1.ebuild 1389
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 80bb070c2c9b188412687cb71dd16ebd ChangeLog 385
+MD5 78e4c849d6f1328ad0fecb4b654fd40e ChangeLog 509
+MD5 451eb7002833045ca98af8ef542f8dbc ppracer-0.2.2.ebuild 1385
MD5 10265ea392a7269a93d6ae30e0e7237c files/digest-ppracer-0.2.1 141
+MD5 979a1d066bd053d37a7d723fc6bc01d4 files/digest-ppracer-0.2.2 138
--- /dev/null
+# 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.2.ebuild,v 1.1 2004/12/28 22:57:59 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}.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}.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
+}