diff options
author | fhajny <fhajny> | 2014-09-05 10:13:20 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2014-09-05 10:13:20 +0000 |
commit | 85e0cea057df2af29717105b9864828db20eedd2 (patch) | |
tree | 7caec3e2e2e54f2c6d9c207a61d7a4dfd7fd56bd /audio/sphinxbase/options.mk | |
parent | 0ecee570379d64e8edff3f835b4be7181384dbbe (diff) | |
download | pkgsrc-85e0cea057df2af29717105b9864828db20eedd2.tar.gz |
Import the CMUSphinx toolkit as sphinxbase, sphinx3, sphinxtrain
and pocketsphinx.
CMUSphinx toolkit is a leading speech recognition toolkit with various
tools used to build speech applications. CMU Sphinx toolkit has a number
of packages for different tasks and applications.
Diffstat (limited to 'audio/sphinxbase/options.mk')
-rw-r--r-- | audio/sphinxbase/options.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/sphinxbase/options.mk b/audio/sphinxbase/options.mk new file mode 100644 index 00000000000..96902f50daf --- /dev/null +++ b/audio/sphinxbase/options.mk @@ -0,0 +1,27 @@ +# $NetBSD: options.mk,v 1.1 2014/09/05 10:13:21 fhajny Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sphinxbase +PKG_SUPPORTED_OPTIONS= samplerate sndfile threads +PKG_SUGGESTED_OPTIONS= samplerate sndfile + +.include "../../mk/pthread.buildlink3.mk" + +.if ${PTHREAD_TYPE} == "native" +PKG_SUGGESTED_OPTIONS+= threads +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Msamplerate) +.include "../../audio/libsamplerate/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Msndfile) +.include "../../audio/libsndfile/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mthreads) +CONFIGURE_ARGS+= --enable-threads +.else +CONFIGURE_ARGS+= --disable-threads +.endif |