diff options
author | 2013-05-14 01:37:41 +0000 | |
---|---|---|
committer | 2013-05-14 01:37:41 +0000 | |
commit | bad2a4e30f4e33b1d3b632c04b01f827e9346f5c (patch) | |
tree | 635ac9d5f7670e9dd8a6574f1896876ded36e529 /games-board/gmchess/gmchess-0.29.6-r1.ebuild | |
parent | update to latest Debian patch (bug #387575) with ebuild patch from Ben Kohler (diff) | |
download | gentoo-2-bad2a4e30f4e33b1d3b632c04b01f827e9346f5c.tar.gz gentoo-2-bad2a4e30f4e33b1d3b632c04b01f827e9346f5c.tar.bz2 gentoo-2-bad2a4e30f4e33b1d3b632c04b01f827e9346f5c.zip |
EAPI=5; fix file locations (bug #412705)
(Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board/gmchess/gmchess-0.29.6-r1.ebuild')
-rw-r--r-- | games-board/gmchess/gmchess-0.29.6-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/games-board/gmchess/gmchess-0.29.6-r1.ebuild b/games-board/gmchess/gmchess-0.29.6-r1.ebuild new file mode 100644 index 000000000000..c2b29bebf959 --- /dev/null +++ b/games-board/gmchess/gmchess-0.29.6-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/gmchess/gmchess-0.29.6-r1.ebuild,v 1.1 2013/05/14 01:37:41 mr_bones_ Exp $ + +EAPI=5 +inherit autotools libtool gnome2-utils games + +DESCRIPTION="Chinese chess with gtkmm and c++" +HOMEPAGE="http://code.google.com/p/gmchess/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2" +RESTRICT="test" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-cpp/gtkmm:2.4" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i \ + -e "s:GAMES_LIBDIR:${GAMES_LIBDIR}:" \ + -e "s:GAMES_DATADIR:${GAMES_DATADIR}:" \ + src/engine/eleeye.cpp || die + eautoreconf +} + +src_configure() { + egamesconf \ + --disable-static \ + --localedir='/usr/share/locale' +} + +src_install() { + emake DESTDIR="${D}" \ + itlocaledir='/usr/share/locale' \ + pixmapsdir='/usr/share/pixmaps' \ + desktopdir='/usr/share/applications' \ + install + dodoc AUTHORS NEWS README + prune_libtool_files + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |