diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-18 19:11:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-18 19:11:30 +0000 |
commit | ae88040c7ace352f9d73aae0a291ca0097873d3f (patch) | |
tree | 91fcfcd0f206cf5b89067ff9567df03cbfe9e67b /games-strategy/dark-oberon | |
parent | update HOMEPAGE (diff) | |
download | gentoo-2-ae88040c7ace352f9d73aae0a291ca0097873d3f.tar.gz gentoo-2-ae88040c7ace352f9d73aae0a291ca0097873d3f.tar.bz2 gentoo-2-ae88040c7ace352f9d73aae0a291ca0097873d3f.zip |
EAPI=5
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-strategy/dark-oberon')
-rw-r--r-- | games-strategy/dark-oberon/ChangeLog | 9 | ||||
-rw-r--r-- | games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild | 26 |
2 files changed, 21 insertions, 14 deletions
diff --git a/games-strategy/dark-oberon/ChangeLog b/games-strategy/dark-oberon/ChangeLog index 8a63f324237b..134760158c1e 100644 --- a/games-strategy/dark-oberon/ChangeLog +++ b/games-strategy/dark-oberon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/dark-oberon -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/ChangeLog,v 1.4 2010/09/16 12:20:32 tupone Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/ChangeLog,v 1.5 2015/02/18 19:11:30 mr_bones_ Exp $ + + 18 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> + dark-oberon-1.0.2_rc1.ebuild: + EAPI=5 16 Sep 2010; Tupone Alfredo <tupone@gentoo.org> dark-oberon-1.0.2_rc1.ebuild, +files/dark-oberon-1.0.2_rc1-ldflags.patch: @@ -20,4 +24,3 @@ +files/dark-oberon-1.0.2_rc1-gentoo.patch, +metadata.xml, +dark-oberon-1.0.2_rc1.ebuild: New ebuild. Bug #96781 by Christoph Brill (egore) - diff --git a/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild b/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild index 0d453dd4509f..1ac402791ca6 100644 --- a/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild +++ b/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 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/dark-oberon/dark-oberon-1.0.2_rc1.ebuild,v 1.4 2010/09/16 12:20:32 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild,v 1.5 2015/02/18 19:11:30 mr_bones_ Exp $ -EAPI=2 -inherit games +EAPI=5 +inherit eutils games MY_PV=${PV/_rc/-RC} MY_P=${PN}-${MY_PV} @@ -25,21 +25,25 @@ DEPEND="virtual/opengl S=${WORKDIR}/${MY_P} PATCHES=( - "${FILESDIR}/${P}"-gcc41.patch - "${FILESDIR}/${P}"-gentoo.patch - "${FILESDIR}"/${P}-ldflags.patch ) +src_prepare() { + epatch \ + "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}/${P}"-gentoo.patch \ + "${FILESDIR}"/${P}-ldflags.patch +} + src_compile() { - emake -C src $(use fmod && echo "SOUND=1") ../${PN} || die "emake failed" + emake -C src $(use fmod && echo "SOUND=1") ../${PN} } src_install() { - dogamesbin dark-oberon || die "dogamesbin failed" + dogamesbin dark-oberon insinto "${GAMES_DATADIR}/${PN}" - doins -r dat maps races schemes || die "doins failed" - dodoc README docs/* || die "dodoc failed" + doins -r dat maps races schemes + dodoc README docs/* prepgamesdirs } |