summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2013-02-26 10:08:31 +0400
committerVadim A. Misbakh-Soloviov <mva@mva.name>2013-02-26 10:08:31 +0400
commitfc6127d7fbe6c3303ef9bc9fcbc15289769600b0 (patch)
tree3548ef9d38ffec80abc5fc003e2cead6a0743ad4 /app-accessibility/sphinxtrain/sphinxtrain-1.0.8.ebuild
parentInit (diff)
downloadactivehome-fc6127d7fbe6c3303ef9bc9fcbc15289769600b0.tar.gz
activehome-fc6127d7fbe6c3303ef9bc9fcbc15289769600b0.tar.bz2
activehome-fc6127d7fbe6c3303ef9bc9fcbc15289769600b0.zip
bump
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'app-accessibility/sphinxtrain/sphinxtrain-1.0.8.ebuild')
-rw-r--r--app-accessibility/sphinxtrain/sphinxtrain-1.0.8.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-accessibility/sphinxtrain/sphinxtrain-1.0.8.ebuild b/app-accessibility/sphinxtrain/sphinxtrain-1.0.8.ebuild
new file mode 100644
index 0000000..0fbc154
--- /dev/null
+++ b/app-accessibility/sphinxtrain/sphinxtrain-1.0.8.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinxbase/sphinxbase-0.7.ebuild,v 1.3 2012/02/24 11:29:47 patrick Exp $
+
+EAPI=3
+PYTHON_DEPEND="python? 2:2.6"
+RESTRICT_PYTHON_ABIS="3* 2.7-pypy-*"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit autotools-utils python
+
+DESCRIPTION="Support library required by the Sphinx Speech Recognition Engine"
+HOMEPAGE="http://cmusphinx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+
+LICENSE="BSD as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc lapack python static-libs"
+
+RDEPEND="lapack? ( virtual/lapack )"
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.4.7 )"
+
+# Due to generated Python setup.py.
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_configure() {
+ local myeconfargs=(
+ $( use_with lapack )
+ # python modules are built through distutils
+ # so disable the ugly wrapper
+ --without-python
+ )
+
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+
+ if use python; then
+ python_copy_sources python
+
+ building() {
+ emake PYTHON="$(PYTHON)" PYTHON_INCLUDEDIR="$(python_get_includedir)" PYTHON_LIBDIR="$(python_get_libdir)"
+ }
+
+ python_execute_function -s --source-dir python building
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ if use python; then
+ python_execute_function -s --source-dir python -d
+ fi
+
+ if use doc; then
+ dohtml doc/html/*
+ fi
+}