* Also, a dependent sphinxbase package.
* Package directory is called sphinx, to fit future ports of full-fledged
Sphinx engines.
* Package is rough for ipkg conventions, just autotools' make install. Whoever
actually does speech recognition with it, please add sane packaging ;-).
--- /dev/null
+--- foo/configure.in.org 2006-08-05 15:42:56.000000000 +0000
++++ foo/configure.in 2006-10-11 22:53:44.000000000 +0000
+@@ -59,7 +59,7 @@
+ dnl FIXME: How do we find the installed headers robustly?
+ dnl
+ AC_CHECK_HEADER(sphinxbase/sphinx_config.h,
+-CPPFLAGS="-I/usr/include/sphinxbase -I/usr/local/include/sphinxbase",[
++CPPFLAGS="$CPPFLAGS",[
+ if test x$sphinxbase = x; then
+ # Look for sphinxbase in the parent directory
+ for sb in ../sphinxbase*; do
--- /dev/null
+DESCRIPTION = "CMU PocketSphinx - speech recognition engine for handhelds"
+HOMEPAGE = "http://www.speech.cs.cmu.edu/pocketsphinx/"
+LICENSE = "BSD"
+DEPENDS = "sphinxbase"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/pocketsphinx-0.2.tar.bz2 \
+ file://cross-compile.patch;patch=1"
+
+inherit autotools
+
+do_configure () {
+ CPPFLAGS="-I${STAGING_INCDIR}/sphinxbase" oe_runconf
+}
--- /dev/null
+DESCRIPTION = "Base library for CMU Sphinx speech recognition engines"
+HOMEPAGE = "http://www.speech.cs.cmu.edu/pocketsphinx/"
+LICENSE = "BSD"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/sphinxbase-0.1.tar.bz2"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-fixed"
+
+do_stage () {
+ autotools_stage_all
+}