games-board/awale - 1.6-r2 (gentoo)

Search

Package Information

Description:
Free Awale - The game of all Africa
Homepage:
https://www.nongnu.org/awale/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.6-r2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools desktop

DESCRIPTION="Free Awale - The game of all Africa"
HOMEPAGE="https://www.nongnu.org/awale/"
SRC_URI="mirror://nongnu/awale/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gui"

RDEPEND="gui? ( dev-lang/tk )"

PATCHES=(
	"${FILESDIR}"/${PN}-1.6-getopt.patch
)

src_prepare() {
	# requires too old automake otherwise
	default
	eautoreconf
}

src_install() {
	if use gui; then
		emake -j1 DESTDIR="${D}" install #799107

		fperms +x /usr/share/${PN}/xawale.tcl

		doicon src/awale.png
		make_desktop_entry xawale "Free Awale"

		rm "${ED}"/usr/share/applications/awale.desktop || die
	else
		dobin src/awale
		doman man/awale.6
	fi

	einstalldocs
}

USE Flags

gui

Applicable Mirrors

Mirror Name URLs
nongnu

Dependencies

RDEPEND

gui? ( dev-lang/tk )