diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-accessibility/sphinx2/sphinx2-0.6.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-accessibility/sphinx2/sphinx2-0.6.ebuild')
-rw-r--r-- | app-accessibility/sphinx2/sphinx2-0.6.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-accessibility/sphinx2/sphinx2-0.6.ebuild b/app-accessibility/sphinx2/sphinx2-0.6.ebuild new file mode 100644 index 000000000000..0ca32c0a2170 --- /dev/null +++ b/app-accessibility/sphinx2/sphinx2-0.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_P=${P/_/} + +DESCRIPTION="CMU Speech Recognition-engine" +HOMEPAGE="http://fife.speech.cs.cmu.edu/sphinx/" +SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="static-libs" + +S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${P}-as-needed.patch ) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + HTML_DOCS=( doc/{phoneset_s2,sphinx2}.html ) + default + dodoc doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}} + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +} |