1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 # Note: the current version is not compatible with wxWidgets 2.9, but a future
6 # version might be. Check again when upstream releases a new version.
11 inherit autotools eutils games wxwidgets
13 DESCRIPTION="A program to play the abstract board games Zertz, Dvonn and Relax"
14 HOMEPAGE="http://holtz.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
22 DEPEND="dev-libs/boost x11-libs/wxGTK:${WX_GTK_VER}[X]"
26 # Restrict localization to selected languages:
27 echo "SUBDIRS=${LINGUAS}" >locale/Makefile.am || die
29 # Don't build/install this test program:
30 sed -i '/^bin_PROGRAMS=/d' relax/Makefile.am || die
36 egamesconf --enable-wxconfig="${WX_CONFIG}"
41 emake DESTDIR="${D}" install || die
43 # Create a desktop entry with an application icon:
44 newicon icon.xpm ${PN}.xpm || die
45 make_desktop_entry ${PN} Holtz ${PN}