From d4d7c746beb45ffa31e95baf8e4454f80b425064 Mon Sep 17 00:00:00 2001 From: Michael Sterrett <mr_bones_@gentoo.org> Date: Fri, 23 Jun 2006 05:00:28 +0000 Subject: add patch from Tristan Heaven via bug #137673 to avoid prestripping binary and tidy ebuild; bump to latest debian patch (Portage version: 2.1.1_pre1-r1) --- games-arcade/xevil/ChangeLog | 7 ++++++- games-arcade/xevil/files/digest-xevil-2.02_p2 | 6 +++--- games-arcade/xevil/xevil-2.02_p2.ebuild | 18 +++++++++--------- 3 files changed, 18 insertions(+), 13 deletions(-) (limited to 'games-arcade') diff --git a/games-arcade/xevil/ChangeLog b/games-arcade/xevil/ChangeLog index 37ef2bb4bcd6..10f1b9a71d1f 100644 --- a/games-arcade/xevil/ChangeLog +++ b/games-arcade/xevil/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-arcade/xevil # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/ChangeLog,v 1.9 2006/04/27 21:50:15 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/ChangeLog,v 1.10 2006/06/23 05:00:28 mr_bones_ Exp $ + + 23 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> + -files/xevil-2.02_p2-gcc41.patch, xevil-2.02_p2.ebuild: + add patch from Tristan Heaven via bug #137673 to avoid prestripping binary and + tidy ebuild; bump to latest debian patch 27 Apr 2006; <Tupone@gentoo.org> +files/xevil-2.02_p2-gcc41.patch, xevil-2.02_p2.ebuild: diff --git a/games-arcade/xevil/files/digest-xevil-2.02_p2 b/games-arcade/xevil/files/digest-xevil-2.02_p2 index fa2b83ca4c7a..dad04f8b198b 100644 --- a/games-arcade/xevil/files/digest-xevil-2.02_p2 +++ b/games-arcade/xevil/files/digest-xevil-2.02_p2 @@ -1,6 +1,6 @@ -MD5 de2ec493ad377cf9d2022f1f27806aec xevil_2.02r2-2.diff.gz 26096 -RMD160 ff60fafb518a67656bcc83905beb421dbdafa4a5 xevil_2.02r2-2.diff.gz 26096 -SHA256 22e743cca5277daa8c93d54be0ca4ba0c37f992739fd5a38fac5578c83b5c865 xevil_2.02r2-2.diff.gz 26096 +MD5 c78641e65ab8e1c3596b140d938c3f26 xevil_2.02r2-4.diff.gz 27758 +RMD160 95823d4b7b52154b7c1f3a2fa14f3dc7b49b7937 xevil_2.02r2-4.diff.gz 27758 +SHA256 cc9eb6d66beb66420a8c2fb028a2ca102df4bff100adc1baf3d687c5862859fc xevil_2.02r2-4.diff.gz 27758 MD5 09a9ef720b7204b0be68c4f462def370 xevilsrc2.02r2.zip 1857315 RMD160 dca82298ac2dfe66e4e92a02731bb6851563b67e xevilsrc2.02r2.zip 1857315 SHA256 45a72def6f7532bd4b7193932df09c1ba4eada2433382c494b37d4733e743188 xevilsrc2.02r2.zip 1857315 diff --git a/games-arcade/xevil/xevil-2.02_p2.ebuild b/games-arcade/xevil/xevil-2.02_p2.ebuild index 7ab1fee3fc73..ca672cab4ec7 100644 --- a/games-arcade/xevil/xevil-2.02_p2.ebuild +++ b/games-arcade/xevil/xevil-2.02_p2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/xevil-2.02_p2.ebuild,v 1.12 2006/04/27 21:50:15 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/xevil-2.02_p2.ebuild,v 1.13 2006/06/23 05:00:28 mr_bones_ Exp $ inherit eutils games -DEB_PATCH=2 +DEB_PATCH=4 MY_PV=${PV/_p/r} DESCRIPTION="3rd person, side-view, fast-action, kill-them-before-they-kill-you game" HOMEPAGE="http://www.xevil.com/" @@ -13,7 +13,7 @@ SRC_URI="http://www.xevil.com/download/stable/xevilsrc${MY_PV}.zip LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc" +KEYWORDS="ppc x86" IUSE="" RDEPEND="|| ( x11-libs/libXpm virtual/x11 )" @@ -25,22 +25,22 @@ S=${WORKDIR} src_unpack() { unpack ${A} edos2unix readme.txt x11/*.{cpp,h} cmn/*.{cpp,h} makefile config.mk - epatch ${WORKDIR}/xevil_${MY_PV}-${DEB_PATCH}.diff \ - "${FILESDIR}/${P}"-gcc41.patch + epatch "${WORKDIR}"/xevil_${MY_PV}-${DEB_PATCH}.diff sed -i \ -e 's:-static::' \ -e "s:CFLAGS=\":CFLAGS=\"${CFLAGS} :g" \ -e 's:-lXpm:-lXpm -lpthread:g' \ - config.mk + config.mk || die "sed failed" } src_compile() { - emake || die #emake dies horribly + emake STRIP=true || die "emake failed" } src_install() { - dogamesbin x11/REDHAT_LINUX/xevil - newgamesbin x11/REDHAT_LINUX/serverping xevil-serverping + dogamesbin x11/REDHAT_LINUX/xevil || die "dogamesbin failed" + newgamesbin x11/REDHAT_LINUX/serverping xevil-serverping \ + || die "newgamesbin failed" dodoc readme.txt prepgamesdirs } -- cgit v1.2.3-65-gdbad