diff options
author | Christoph Mende <angelos@gentoo.org> | 2008-12-30 19:17:56 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2008-12-30 19:17:56 +0000 |
commit | be99cc7f26841fd5bc53c9efdf14c9a53fd37e27 (patch) | |
tree | 0103ba140ae17e88c2f719b7da76e876369b0013 /app-emulation/spectemu | |
parent | Remove use of deprecated portage modules (diff) | |
download | gentoo-2-be99cc7f26841fd5bc53c9efdf14c9a53fd37e27.tar.gz gentoo-2-be99cc7f26841fd5bc53c9efdf14c9a53fd37e27.tar.bz2 gentoo-2-be99cc7f26841fd5bc53c9efdf14c9a53fd37e27.zip |
QA: Respect CC (bug 243586) and removed broken version
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-emulation/spectemu')
-rw-r--r-- | app-emulation/spectemu/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/spectemu/spectemu-0.9.4.ebuild | 57 | ||||
-rw-r--r-- | app-emulation/spectemu/spectemu-0.99.3.ebuild | 13 |
3 files changed, 13 insertions, 65 deletions
diff --git a/app-emulation/spectemu/ChangeLog b/app-emulation/spectemu/ChangeLog index a300af283d87..20ad6a697a6a 100644 --- a/app-emulation/spectemu/ChangeLog +++ b/app-emulation/spectemu/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/spectemu -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/ChangeLog,v 1.24 2007/07/22 09:29:45 omp Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/ChangeLog,v 1.25 2008/12/30 19:17:56 angelos Exp $ + + 30 Dec 2008; Christoph Mende <angelos@gentoo.org> -spectemu-0.9.4.ebuild, + spectemu-0.99.3.ebuild: + QA: Respect CC (bug 243586) and removed broken version 22 Jul 2007; David Shakaryan <omp@gentoo.org> spectemu-0.9.4.ebuild, spectemu-0.99.3.ebuild: diff --git a/app-emulation/spectemu/spectemu-0.9.4.ebuild b/app-emulation/spectemu/spectemu-0.9.4.ebuild deleted file mode 100644 index 7d3ad88b1c0c..000000000000 --- a/app-emulation/spectemu/spectemu-0.9.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/spectemu-0.9.4.ebuild,v 1.17 2007/07/22 09:29:45 omp Exp $ - -### Several versions of specemu exist, xspect & vgaspect, utilising X11 -### and/or svgalib. libreadline provides optional runtime features. -### The ./configure script automagically figures out which binaries to build -### so the run/compiletime dependancies here are use dependant - -DESCRIPTION="48k ZX Spectrum Emulator" -HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html" -SRC_URI="http://home.gwi.net/~plemon/sources/spectemu-0.94.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="x86 ppc" -IUSE="X readline svga" - -DEPEND="X? ( >=x11-proto/xf86vidmodeproto-2.2.2 - >=x11-proto/xextproto-7.0.2 - >=x11-proto/xproto-7.0.4 - >=x11-libs/libX11-1.0.0 - >=x11-libs/libXext-1.0.0 - >=x11-libs/libXxf86vm-1.0.0 ) - readline? ( sys-libs/readline )" -RDEPEND="svga? ( media-libs/svgalib )" - -S=${WORKDIR}/spectemu-0.94 - -src_compile() { - ### First we'll set compiletime options for X11 & libreadline, there are no - ### switches for svgalib, if its installed, it'll build vgaspect. if not, - ### well... it wont! - local myflags - use X || myflags="${myflags} --with-x=no" - use readline || myflags="${myflags} --without-readline" - - ### and no we'll configure & compile as appropriate - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man/man1 \ - ${myflags} || die "Spectemu ./configure failed" - make clean || die "Spectemu make clean failed" - emake || die "Spectemu make failed" -} - -src_install() { - ### Here's our make install, nothing special here, houston, we are - ### go for launch. - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man/man1 \ - infodir=${D}/usr/share/info \ - install || die "Spectemu make install failed" -} diff --git a/app-emulation/spectemu/spectemu-0.99.3.ebuild b/app-emulation/spectemu/spectemu-0.99.3.ebuild index 9cb201628cf6..e65384799934 100644 --- a/app-emulation/spectemu/spectemu-0.99.3.ebuild +++ b/app-emulation/spectemu/spectemu-0.99.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/spectemu-0.99.3.ebuild,v 1.11 2007/07/22 09:29:45 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/spectemu-0.99.3.ebuild,v 1.12 2008/12/30 19:17:56 angelos Exp $ ### Several versions of specemu exist, xspect & vgaspect, utilising X11 ### and/or svgalib. libreadline provides optional runtime features. @@ -36,11 +36,12 @@ src_unpack() { src_compile() { econf \ $(use_with readline) \ - $(use_with X x) \ - || die "Spectemu ./configure failed" - emake || die "Spectemu make failed" + $(use_with X x) + emake CC="$(tc-getCC)" \ + CPP="$(tc-getCPP)" \ + || die "emake failed" } src_install() { - make install_root="${D}" install || die + emake install_root="${D}" install || die "emake install failed" } |