From 47575be44e4e9ccb6022efd23bb66510d1287a58 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 21 Aug 2003 23:05:05 +0000 Subject: unpack and patch in src_unpack. --- app-emulation/game-launcher/ChangeLog | 9 +++++++-- app-emulation/game-launcher/Manifest | 6 +++--- .../game-launcher/game-launcher-0.9.8.ebuild | 23 +++++++++++++++------- 3 files changed, 26 insertions(+), 12 deletions(-) (limited to 'app-emulation') diff --git a/app-emulation/game-launcher/ChangeLog b/app-emulation/game-launcher/ChangeLog index c322acd2b129..86a47de3214a 100644 --- a/app-emulation/game-launcher/ChangeLog +++ b/app-emulation/game-launcher/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for app-emulation/game-launcher # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/game-launcher/ChangeLog,v 1.5 2003/06/21 08:05:27 vapier Exp $ - +# $Header: /var/cvsroot/gentoo-x86/app-emulation/game-launcher/ChangeLog,v 1.6 2003/08/21 23:05:01 msterret Exp $ + + 21 Aug 2003; Michael Sterrett + game-launcher-0.9.8.ebuild: + unpack and patch in src_unpack. Still doesn't work, but it's at least a little + cleaner. + *game-launcher-0.9.8 (27 Oct 2002) 21 Jun 2003; Mike Frysinger : diff --git a/app-emulation/game-launcher/Manifest b/app-emulation/game-launcher/Manifest index 94a7b1ef99a3..b300c4a30ff9 100644 --- a/app-emulation/game-launcher/Manifest +++ b/app-emulation/game-launcher/Manifest @@ -1,5 +1,5 @@ -MD5 0ce1a828196b8d4e3e0302ed4d95c4d3 files/0.9.8-gcc3.patch 299 +MD5 9cc5d5a3f43d70d49fa1e2ce4102feb1 ChangeLog 776 +MD5 b21df9309b15f929a38968ed8f7a1189 game-launcher-0.9.8.ebuild 1317 MD5 79514d6adf8fd7f9d6fc78210cc91aee files/digest-game-launcher-0.9.8 55 MD5 671b1311f9989ac4e746ae60042ec36c files/0.9.8-digi-oss.patch 229 -MD5 6a4fa3f8e4480394f5d61c80d45a408d game-launcher-0.9.8.ebuild 1240 -MD5 5d0398b6fc3cc5cd8560a9fc3363ffca ChangeLog 598 +MD5 0ce1a828196b8d4e3e0302ed4d95c4d3 files/0.9.8-gcc3.patch 299 diff --git a/app-emulation/game-launcher/game-launcher-0.9.8.ebuild b/app-emulation/game-launcher/game-launcher-0.9.8.ebuild index 97449a4c83dc..d3a0fe9b9446 100644 --- a/app-emulation/game-launcher/game-launcher-0.9.8.ebuild +++ b/app-emulation/game-launcher/game-launcher-0.9.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/game-launcher/game-launcher-0.9.8.ebuild,v 1.4 2003/06/21 08:05:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/game-launcher/game-launcher-0.9.8.ebuild,v 1.5 2003/08/21 23:05:01 msterret Exp $ inherit games eutils @@ -9,8 +9,8 @@ HOMEPAGE="http://www.dribin.org/dave/game_launcher/" SRC_URI="mirror://sourceforge/glaunch/gl${PV//./}s.zip" LICENSE="GPL-2" -SLOT="0" KEYWORDS="x86" +SLOT="0" RDEPEND=">=media-libs/allegro-4.0.0 >=media-libs/loadpng-0.11 @@ -20,23 +20,32 @@ RDEPEND=">=media-libs/allegro-4.0.0 >=media-libs/jpgalleg-1.1 >=sys-libs/zlib-1.1.4" DEPEND="${RDEPEND} + >=sys-apps/sed-4 app-arch/unzip" S=${WORKDIR}/glaunch -src_compile() { +src_unpack() { + unpack ${A} + cd ${S} + edos2unix `find -regex '.*\.[ch]' -or -name '*.cc'` epatch ${FILESDIR}/${PV}-gcc3.patch epatch ${FILESDIR}/${PV}-digi-oss.patch - mv common.mk common.mk_orig - sed s/'TARGET\(.*\)= MINGW'/'#TARGET\1= MINGW'/ common.mk_orig | sed s/'#TARGET\(.*\)= UNIX'/'TARGET\1= UNIX'/ > common.mk - emake || die + sed -i \ + -e "s/TARGET\(.*\)= MINGW/#TARGET\1= MINGW/" \ + -e "s/#TARGET\(.*\)= UNIX/TARGET\1= UNIX/" common.mk || \ + die "sed common.mk failed" +} + +src_compile() { + emake -j1 CXXFLAGS="${CXXFLAGS}" } src_install() { dodir /opt/${P} - cp -r ${S}/* ${D}/opt/${P} # doinst can't do recursive + cp -R ${S}/* ${D}/opt/${P} # doinst can't do recursive prepgamesdirs } -- cgit v1.2.3-65-gdbad