diff options
author | David Seifert <soap@gentoo.org> | 2017-12-29 22:21:24 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-29 23:32:40 +0100 |
commit | e00353ab120bf887b58e09a813029a3ad79c35d6 (patch) | |
tree | 40e01210564aa5f6668cdd4834ce0a761dc21184 /app-accessibility/festival-fi/festival-fi-20041119.ebuild | |
parent | app-accessibility/festival-ru: Port to EAPI 6 (diff) | |
download | gentoo-e00353ab120bf887b58e09a813029a3ad79c35d6.tar.gz gentoo-e00353ab120bf887b58e09a813029a3ad79c35d6.tar.bz2 gentoo-e00353ab120bf887b58e09a813029a3ad79c35d6.zip |
app-accessibility/festival-fi: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-accessibility/festival-fi/festival-fi-20041119.ebuild')
-rw-r--r-- | app-accessibility/festival-fi/festival-fi-20041119.ebuild | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/app-accessibility/festival-fi/festival-fi-20041119.ebuild b/app-accessibility/festival-fi/festival-fi-20041119.ebuild index 7ed4851d8ed5..baff3ed11700 100644 --- a/app-accessibility/festival-fi/festival-fi-20041119.ebuild +++ b/app-accessibility/festival-fi/festival-fi-20041119.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" -inherit eutils +EAPI=6 DESCRIPTION="Finnish diphones and text to speech script for festival" HOMEPAGE="http://www.ling.helsinki.fi/suopuhe" @@ -15,29 +14,27 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="perl" -RDEPEND=">=app-accessibility/festival-1.96_beta" +RDEPEND=" + >=app-accessibility/festival-1.96_beta + dev-lang/perl" DEPEND="" -src_prepare(){ - cd "${WORKDIR}/lavennin/bin" - epatch "${FILESDIR}/${P}_lavennin_path.patch" -} +S=${WORKDIR} +PATCHES=( "${FILESDIR}"/${P}_lavennin_path.patch ) src_install() { - cd "${WORKDIR}" dodoc festival/lib/voices/finnish/hy_fi_mv_diphone/README.mv - rm festival/lib/voices/finnish/hy_fi_mv_diphone/{README.mv,LICENSE} - insinto /usr/share/festival/ - cd festival/lib/ - doins -r voices/ - cd "${WORKDIR}/lavennin/" + rm festival/lib/voices/finnish/hy_fi_mv_diphone/{README.mv,LICENSE} || die + + insinto /usr/share/festival + doins -r festival/lib/voices + cd "${WORKDIR}"/lavennin/ || die newdoc README.txt README.lavennin dodoc man/*.shtml if use perl; then - newbin bin/lavennin suopuhe-lavennin - dodir /usr/share/suopuhe/data/ + insinto /usr/share/suopuhe doins -r data |