diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-06-01 20:49:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-06-01 20:49:09 +0000 |
commit | 5c2c029993a6387c554ba7c75032bf9994fdf2c9 (patch) | |
tree | 4d3ca34aff6c3423afa0c259a18e31c2cbb4d1cb /games-strategy | |
parent | clean up app-emulation/emul-linux which has been removed (diff) | |
download | gentoo-2-5c2c029993a6387c554ba7c75032bf9994fdf2c9.tar.gz gentoo-2-5c2c029993a6387c554ba7c75032bf9994fdf2c9.tar.bz2 gentoo-2-5c2c029993a6387c554ba7c75032bf9994fdf2c9.zip |
clean up app-emulation/emul-linux which has been removed
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/dominions2/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/dominions2/dominions2-2.16.ebuild | 31 |
2 files changed, 15 insertions, 23 deletions
diff --git a/games-strategy/dominions2/ChangeLog b/games-strategy/dominions2/ChangeLog index 3004af6797d7..f7c8490b963b 100644 --- a/games-strategy/dominions2/ChangeLog +++ b/games-strategy/dominions2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/dominions2 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/ChangeLog,v 1.12 2014/10/13 16:22:19 mgorny Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/ChangeLog,v 1.13 2015/06/01 20:49:09 mr_bones_ Exp $ + + 01 Jun 2015; Michael Sterrett <mr_bones_@gentoo.org> dominions2-2.16.ebuild: + clean up app-emulation/emul-linux which has been removed 13 Oct 2014; Michał Górny <mgorny@gentoo.org> dominions2-2.16.ebuild: Support multilib providers for deps. Bump to EAPI=5. diff --git a/games-strategy/dominions2/dominions2-2.16.ebuild b/games-strategy/dominions2/dominions2-2.16.ebuild index 16c18a500e28..84f90b828ede 100644 --- a/games-strategy/dominions2/dominions2-2.16.ebuild +++ b/games-strategy/dominions2/dominions2-2.16.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/dominions2-2.16.ebuild,v 1.12 2014/10/13 16:22:19 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/dominions2-2.16.ebuild,v 1.13 2015/06/01 20:49:09 mr_bones_ Exp $ EAPI=5 - inherit eutils cdrom games DESCRIPTION="Dominions 2: The Ascension Wars is an epic turn-based fantasy strategy game" @@ -26,7 +25,7 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="doc" RESTRICT="bindist strip" -DEPEND=" +RDEPEND=" || ( ppc? ( media-libs/libsdl @@ -38,25 +37,17 @@ DEPEND=" virtual/opengl[abi_x86_32(-)] virtual/glu[abi_x86_32(-)] ) - amd64? ( - app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] - app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] - app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] - ) )" -RDEPEND="${DEPEND}" dir=${GAMES_PREFIX_OPT}/${PN} Ddir=${D}/${dir} src_unpack() { - mkdir -p "${S}"/patch - cd "${S}"/patch - if use x86 || use amd64 - then + mkdir -p "${S}"/patch || die + cd "${S}"/patch || die + if use x86 || use amd64 ; then unpack dompatch${PV/\./}_linux_x86.tgz - elif use ppc - then + elif use ppc ; then unpack dompatch${PV/\./}_linux_ppc.tgz fi } @@ -66,11 +57,9 @@ src_install() { einfo "Copying files to harddisk... this may take a while..." exeinto "${dir}" - if use amd64 || use x86 - then + if use amd64 || use x86 ; then doexe "${CDROM_ROOT}"/bin_lin/x86/dom2* - elif use ppc - then + elif use ppc ; then doexe "${CDROM_ROOT}"/bin_lin/ppc/dom2* fi insinto "${dir}" @@ -82,7 +71,7 @@ src_install() { einfo "Applying patch for version ${PV}..." dodoc "${S}"/patch/doc/* doexe "${S}"/patch/dom2 - rm -rf "${S}"/patch/doc/ "${S}"/patch/dom2 || die "rm failed" + rm -rf "${S}"/patch/doc/ "${S}"/patch/dom2 || die doins -r "${S}"/patch/* if use doc; then |