]> pilppa.org Git - familiar-h63xx-build.git/blobdiff - org.handhelds.familiar/packages/sphinx/pocketsphinx_0.2.1.bb
Add sphinxbase and pocketsphinx.
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / sphinx / pocketsphinx_0.2.1.bb
diff --git a/org.handhelds.familiar/packages/sphinx/pocketsphinx_0.2.1.bb b/org.handhelds.familiar/packages/sphinx/pocketsphinx_0.2.1.bb
new file mode 100644 (file)
index 0000000..037e5d4
--- /dev/null
@@ -0,0 +1,21 @@
+# pocketsphinx OE build file
+# Copyright (C) 2006, Rene Wagner. All Rights Reserved
+# Released under the MIT license (see org.handhelds.familiar/COPYING.MIT)
+
+DESCRIPTION = "Sphinx speech recognition system for handhelds"
+LICENSE = "BSD"
+PRIORITY = "optional"
+SECTION = "sound"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/${PN}-${PV}.tar.bz2"
+
+inherit autotools
+
+CFLAGS =+ "-I${STAGING_INCDIR}/sphinxbase"
+CPPFLAGS =+ "-I${STAGING_INCDIR}/sphinxbase"
+
+PACKAGES =+ "lib${PN} ${PN}-model-hmm ${PN}-model-lm"
+FILES_lib${PN} = "${libdir}/*.so.*"
+FILES_${PN}-model-hmm = "${datadir}/${PN}/model/hmm"
+FILES_${PN}-model-lm = "${datadir}/${PN}/model/lm"
+RRECOMMENDS_${PN} = "${PN}-model-hmm ${PN}-model-lm"