# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit eutils toolchain-funcs DESCRIPTION="Polish speech synthesizer based on rsynth" HOMEPAGE="http://kadu.net/index.php?page=download&lang=en" SRC_URI="http://kadu.net/download/additions/powiedz-1.0.tgz" LICENSE="GPL-1" SLOT="0" KEYWORDS="amd64 ppc ~sparc x86" IUSE="" S=${WORKDIR}/${PN} src_prepare() { epatch "${FILESDIR}"/${PN}-dsp-handle-fix.patch } src_compile() { emake -f Makefile_plain LDLIBS="-lm" CFLAGS="${CFLAGS}" DEFS="" CC=$(tc-getCC) } src_install() { dobin powiedz domenu "${FILESDIR}"/${PN}.desktop }