1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 # do not use autotools related stuff in stable ebuilds
6 # unless you like random breakage: 469796, 469798, 424041
10 inherit autotools eutils gnome2-utils games
12 DESCRIPTION="Free Awale - The game of all Africa"
13 HOMEPAGE="http://www.nongnu.org/awale/"
14 SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
15 SRC_URI="${SRC_URI} https://dev.gentoo.org/~hasufell/distfiles/${P}-no-autoreconf2.patch.xz" # STABLE ARCH
22 RDEPEND="tk? ( dev-lang/tcl:0= dev-lang/tk:0= )"
25 epatch "${FILESDIR}"/${P}-build.patch
27 mv src/xawale.tcl src/xawale.tcl.in || die
28 mv configure.in configure.ac
35 --mandir=/usr/share/man \
36 --with-iconsdir=/usr/share/icons/hicolor/48x48/apps \
37 --with-desktopdir=/usr/share/applications \
44 use tk && fperms +x "${GAMES_DATADIR}"/${PN}/xawale.tcl
49 use tk && gnome2_icon_savelist
54 use tk && gnome2_icon_cache_update
58 use tk && gnome2_icon_cache_update