diff options
author | 2013-03-04 22:36:22 +0000 | |
---|---|---|
committer | 2013-03-04 22:36:22 +0000 | |
commit | b9488b3cd98972c9e07266f142698a18b38a8a77 (patch) | |
tree | 26cffaf2f2c95a81a6949bbe58d5602323a4f1f4 /games-strategy | |
parent | Version bump (diff) | |
download | gentoo-2-b9488b3cd98972c9e07266f142698a18b38a8a77.tar.gz gentoo-2-b9488b3cd98972c9e07266f142698a18b38a8a77.tar.bz2 gentoo-2-b9488b3cd98972c9e07266f142698a18b38a8a77.zip |
fix bug 460344, bump EAPI
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/liquidwar/ChangeLog | 9 | ||||
-rw-r--r-- | games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild | 61 |
2 files changed, 68 insertions, 2 deletions
diff --git a/games-strategy/liquidwar/ChangeLog b/games-strategy/liquidwar/ChangeLog index e057292e1522..f71676ad7ce5 100644 --- a/games-strategy/liquidwar/ChangeLog +++ b/games-strategy/liquidwar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/liquidwar -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.27 2012/03/22 01:20:56 mr_bones_ Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.28 2013/03/04 22:36:22 hasufell Exp $ + +*liquidwar-5.6.4-r1 (04 Mar 2013) + + 04 Mar 2013; Julian Ospald <hasufell@gentoo.org> +liquidwar-5.6.4-r1.ebuild: + fix bug 460344, bump EAPI 22 Mar 2012; Michael Sterrett <mr_bones_@gentoo.org> liquidwar-5.6.4.ebuild: add X use dep for allegro (bug #409115) diff --git a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild b/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild new file mode 100644 index 000000000000..f87b46688734 --- /dev/null +++ b/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild,v 1.1 2013/03/04 22:36:22 hasufell Exp $ + +EAPI=5 +inherit eutils games + +DESCRIPTION="unique multiplayer wargame" +HOMEPAGE="http://www.ufoot.org/liquidwar/" +SRC_URI="http://savannah.nongnu.org/download/liquidwar/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="nls" +RESTRICT="test" + +RDEPEND=">=media-libs/allegro-4.2:0[X]" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-exec-stack.patch \ + "${FILESDIR}"/${P}-ovflfix.patch + sed -i \ + -e 's:/games::' \ + -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \ + -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \ + -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \ + -e '/^INFODIR/ s/=.*/= $(infodir)/' \ + -e '/^GAMEDIR/ s/exec_prefix/bindir/' \ + -e '/install/s:-s ::' \ + -e 's:$(DOCDIR)/txt:$(DOCDIR):g' \ + -e 's:$(GMAKE):$(MAKE):' \ + -e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(PF):' Makefile.in \ + || die 'sed Makefile.in failed' + sed -i \ + -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \ + -e 's:/games::' src/Makefile.in \ + || die "sed src/Makefile.in failed" + epatch "${FILESDIR}"/${P}-underlink.patch +} + +src_configure() { + egamesconf \ + --disable-doc-ps \ + --disable-doc-pdf \ + --disable-target-opt \ + $(use_enable x86 asm) +} + +src_compile() { + # skip build_doc target wrt bug 460344 + emake build_bin build_data +} + +src_install() { + emake DESTDIR="${D}" install_nolink + rm -f "${D}"/usr/share/doc/${PF}/COPYING + use nls || rm -f "${D}"/usr/share/doc/${PF}/README.* + prepgamesdirs +} |