+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX mirrormagic-2.0.2-gcc41.patch 339 RMD160 d7d8fe4004cf7360a99ddcdf0db2a56e2f55be3c SHA1 beb6a0170e2a749f7826c774c3ca0f2555ae6049 SHA256 ae5e1eee2ed2c37de5d2259d8150b0dace6e6744045989e83b1b0239b6fd0f4f
MD5 2b3c93b8aae056f548fefeb076d59c2e files/mirrormagic-2.0.2-gcc41.patch 339
RMD160 d7d8fe4004cf7360a99ddcdf0db2a56e2f55be3c files/mirrormagic-2.0.2-gcc41.patch 339
SHA256 ae5e1eee2ed2c37de5d2259d8150b0dace6e6744045989e83b1b0239b6fd0f4f files/mirrormagic-2.0.2-gcc41.patch 339
DIST mirrormagic-2.0.2.tar.gz 1168098 RMD160 57de928f2b37575886ddb5cbafcababf9de765dc SHA1 bce7fbf163d5177f59ba4f516b06a3ebb7cc3927 SHA256 79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2
-EBUILD mirrormagic-2.0.2.ebuild 1311 RMD160 0ce49eb3dd97b1ec85cc1f7db98839cf648b7ca5 SHA1 6e450912a7e824427c7535985c0e33f744b0bc4f SHA256 fdbf61fe08dc74a5dfa7e811cc8d51d1e92c609d252d364347cc45e647a92ec8
-MD5 91cd6ad5eef1e90c9b17c80ffc32f5c0 mirrormagic-2.0.2.ebuild 1311
-RMD160 0ce49eb3dd97b1ec85cc1f7db98839cf648b7ca5 mirrormagic-2.0.2.ebuild 1311
-SHA256 fdbf61fe08dc74a5dfa7e811cc8d51d1e92c609d252d364347cc45e647a92ec8 mirrormagic-2.0.2.ebuild 1311
+EBUILD mirrormagic-2.0.2.ebuild 1243 RMD160 928894c97bfd7dbd45aad5e19957296746b22c96 SHA1 84251cc6c081734457ac4a09336850c7344482d6 SHA256 151df9b6948039db5b0a4e0208f52c3387dc322ffdf4a9fa91cb87a894f31665
+MD5 71393f5ae8af01b17ed8e00a2b1e7673 mirrormagic-2.0.2.ebuild 1243
+RMD160 928894c97bfd7dbd45aad5e19957296746b22c96 mirrormagic-2.0.2.ebuild 1243
+SHA256 151df9b6948039db5b0a4e0208f52c3387dc322ffdf4a9fa91cb87a894f31665 mirrormagic-2.0.2.ebuild 1243
MISC ChangeLog 1263 RMD160 0b60dda3220c61fe7636069a94240c26471b68b8 SHA1 aa6f34748a6751c67c61a4e98ea8fdaf496fd27e SHA256 bd6afc945462650b3dc8954e92db3d5420cac22ab4147a9165ec9e649390ba12
MD5 62a9fff99d25de1ed13f6334c90d92ae ChangeLog 1263
RMD160 0b60dda3220c61fe7636069a94240c26471b68b8 ChangeLog 1263
MD5 88db32de8f23127438de94d0f2b599a2 files/digest-mirrormagic-2.0.2 256
RMD160 e4cefe049763e5dd1913a4d91aabcb204d6ed1aa files/digest-mirrormagic-2.0.2 256
SHA256 9fffd58068085973091ca10472dffaa9207718f135ab4f0d2d524a4972d57f59 files/digest-mirrormagic-2.0.2 256
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF4a2xdz7hIScOURERAgX5AKCSiWaX8EqfUfHKQO2eZp8BrHUDbgCfQMqp
+t5hdG0rnXXHEQxD92Yb13Mg=
+=Vo+f
+-----END PGP SIGNATURE-----
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild,v 1.17 2006/12/06 17:13:18 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild,v 1.18 2007/02/25 15:39:21 nyhm Exp $
-inherit eutils flag-o-matic games
+inherit eutils games
DESCRIPTION="a game like Deflektor (C 64) or Mindbender (Amiga)"
HOMEPAGE="http://www.artsoft.org/mirrormagic/"
-SRC_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/${P}.tar.gz"
+SRC_URI="http://www.artsoft.org/RELEASES/unix/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~amd64 ppc"
+KEYWORDS="~amd64 ppc x86"
IUSE="sdl"
RDEPEND="!sdl? ( x11-libs/libX11 )
}
src_compile() {
- replace-flags -march=k6 -march=i586
-
local makeopts="X11_PATH=/usr/X11R6 RO_GAME_DIR=${GAMES_DATADIR}/${PN} RW_GAME_DIR=${GAMES_STATEDIR}/${PN}"
- make clean || die
+ emake clean || die
if use sdl ; then
- make ${makeopts} OPTIONS="${CFLAGS}" sdl || die
+ emake ${makeopts} OPTIONS="${CFLAGS}" sdl || die
else
- make ${makeopts} OPTIONS="${CFLAGS}" x11 || die
+ emake ${makeopts} OPTIONS="${CFLAGS}" x11 || die
fi
}
src_install() {
- dogamesbin mirrormagic || die "dogamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}"
- cp -R graphics levels music sounds "${D}/${GAMES_DATADIR}/${PN}/"
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r graphics levels music sounds || die "doins failed"
dodoc CHANGES CREDITS README TODO
prepgamesdirs
}