From 367bcc409df6aeb568526900829dd8ae8035d6d7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Feb 2004 10:36:24 +0000 Subject: make it stable --- games-emulation/openmsx/openmsx-0.3.4.ebuild | 30 +++++++++++++++------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'games-emulation/openmsx') diff --git a/games-emulation/openmsx/openmsx-0.3.4.ebuild b/games-emulation/openmsx/openmsx-0.3.4.ebuild index 7039e46936b3..4c6cc182c72c 100644 --- a/games-emulation/openmsx/openmsx-0.3.4.ebuild +++ b/games-emulation/openmsx/openmsx-0.3.4.ebuild @@ -1,20 +1,16 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.3.4.ebuild,v 1.1 2004/01/27 23:38:44 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.3.4.ebuild,v 1.2 2004/02/29 10:36:24 vapier Exp $ -inherit flag-o-matic games +inherit games flag-o-matic DESCRIPTION="MSX emulator that aims for perfection" HOMEPAGE="http://openmsx.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -KEYWORDS="~x86 ~sparc" LICENSE="GPL-2" SLOT="0" -IUSE="" - -# fix bug 32745 -replace-flags '-Os' '-O2' +KEYWORDS="x86 sparc" DEPEND="dev-libs/libxml2 media-libs/libpng @@ -30,14 +26,21 @@ src_unpack() { # Remove all symlinking from the Makefile.in sed -i \ - -e "/ln /d" Makefile.in || \ - die "sed Makefile.in failed" + -e "/ln /d" Makefile.in \ + || die "sed Makefile.in failed" # Change the hardcoded default SystemDir. sed -i \ -e "s:/opt/openMSX/:${GAMES_DATADIR}/${PN}/:" \ - src/file/FileOperations.cc || \ - die "sed FileOperations.cc failed" + src/file/FileOperations.cc \ + || die "sed FileOperations.cc failed" +} + +src_compile() { + # fix bug 32745 + replace-flags -Os -O2 + egamesconf || die + emake || die } src_install() { @@ -53,9 +56,8 @@ src_install() { dosym ${GAMES_DATADIR}/${PN}/share/machines/Panasonic_FS-A1GT \ ${GAMES_DATADIR}/${PN}/share/machines/turbor - dodoc README AUTHORS NEWS ${D}${GAMES_DATADIR}/openmsx/*.{txt,tex} || \ - die "dodoc failed" - dohtml -r doc/* || die "dohtml failed" + dodoc README AUTHORS NEWS ${D}${GAMES_DATADIR}/openmsx/*.{txt,tex} + dohtml -r doc/* # Tidy up install rm -f ${D}${GAMES_DATADIR}/openmsx/*.{txt,tex,html,png,css} -- cgit v1.2.3-65-gdbad