pkgsrc/audio/sphinxbase/options.mk
fhajny a9bec4ac72 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.
2014-09-05 10:13:20 +00:00

27 lines
645 B
Makefile

# $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