summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-03-14 19:22:42 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-03-14 19:22:42 +0000
commit50468dd15ccbae75e8f4a5b1e469cebc1235e924 (patch)
treea66ebfc6c245206a895e3dc22982590c88fd95f5 /games-arcade/xboing/xboing-2.4-r2.ebuild
parentDisabled the rediffed patch, it's broken. Put an ewarn there instead. (diff)
downloadgentoo-2-50468dd15ccbae75e8f4a5b1e469cebc1235e924.tar.gz
gentoo-2-50468dd15ccbae75e8f4a5b1e469cebc1235e924.tar.bz2
gentoo-2-50468dd15ccbae75e8f4a5b1e469cebc1235e924.zip
Fixing bug #115351 (insane speed on linux 2.6)
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'games-arcade/xboing/xboing-2.4-r2.ebuild')
-rw-r--r--games-arcade/xboing/xboing-2.4-r2.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/games-arcade/xboing/xboing-2.4-r2.ebuild b/games-arcade/xboing/xboing-2.4-r2.ebuild
new file mode 100644
index 000000000000..a1cb8e55b849
--- /dev/null
+++ b/games-arcade/xboing/xboing-2.4-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xboing/xboing-2.4-r2.ebuild,v 1.1 2006/03/14 19:22:42 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="blockout type game where you bounce a proton ball trying to destroy blocks"
+HOMEPAGE="http://www.techrescue.org/xboing/"
+SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
+ mirror://gentoo/xboing-${PV}-debian.patch.bz2"
+
+LICENSE="xboing"
+SLOT="0"
+KEYWORDS="~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="|| ( x11-libs/libXpm virtual/x11 )"
+DEPEND="${RDEPEND}
+ || ( ( app-text/rman
+ x11-misc/gccmakedep
+ x11-misc/imake )
+ virtual/x11 )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/01_all_insaneSpeed.patch \
+ "${WORKDIR}"/xboing-${PV}-debian.patch
+ sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c
+}
+
+src_compile() {
+ xmkmf -a || die
+ sed -i \
+ -e "s:GENTOO_VER:${PF/${PN}-/}:" \
+ Imakefile
+ emake \
+ CXXOPTIONS="${CXXFLAGS}" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ XBOING_DIR=${GAMES_DATADIR}/${PN} \
+ || die
+}
+
+src_install() {
+ make \
+ PREFIX=${D} \
+ XBOING_DIR=${GAMES_DATADIR}/${PN} \
+ install \
+ || die
+ newman xboing.man xboing.6
+ dodoc README docs/*.doc
+ prepgamesdirs
+ fperms 660 ${GAMES_STATEDIR}/xboing.score
+}