summaryrefslogtreecommitdiff
path: root/homebrew/cmusphinxbase
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cmusphinxbase')
-rw-r--r--homebrew/cmusphinxbase/.beer52
-rw-r--r--homebrew/cmusphinxbase/.make.sh-auto6
-rw-r--r--homebrew/cmusphinxbase/_metadata/description1
-rw-r--r--homebrew/cmusphinxbase/_metadata/homepage1
-rw-r--r--homebrew/cmusphinxbase/_metadata/name1
-rw-r--r--homebrew/cmusphinxbase/_metadata/version1
-rwxr-xr-xhomebrew/cmusphinxbase/download.sh1
7 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/cmusphinxbase/.beer b/homebrew/cmusphinxbase/.beer
new file mode 100644
index 000000000..8e1b83340
--- /dev/null
+++ b/homebrew/cmusphinxbase/.beer
@@ -0,0 +1,52 @@
+{
+ "name": "CmuSphinxbase",
+ "description": "Lightweight speech recognition engine for mobile devices",
+ "url": "https://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz",
+ "mirror": null,
+ "homepage": "https://cmusphinx.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "swig",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libsamplerate",
+ "build-depend": false
+ },
+ {
+ "depend": "libsndfile",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "if build.head?",
+ "ENV[\"NOCONFIGURE\"] = \"yes\"",
+ "system \"./autogen.sh\"",
+ "end",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.8",
+ "file": "cmu-sphinxbase.rb"
+} \ No newline at end of file
diff --git a/homebrew/cmusphinxbase/.make.sh-auto b/homebrew/cmusphinxbase/.make.sh-auto
new file mode 100644
index 000000000..3505986ee
--- /dev/null
+++ b/homebrew/cmusphinxbase/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV["NOCONFIGURE"] = "yes"
+./autogen.sh
+end
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/cmusphinxbase/_metadata/description b/homebrew/cmusphinxbase/_metadata/description
new file mode 100644
index 000000000..1956d04ab
--- /dev/null
+++ b/homebrew/cmusphinxbase/_metadata/description
@@ -0,0 +1 @@
+Lightweight speech recognition engine for mobile devices
diff --git a/homebrew/cmusphinxbase/_metadata/homepage b/homebrew/cmusphinxbase/_metadata/homepage
new file mode 100644
index 000000000..d1947ac17
--- /dev/null
+++ b/homebrew/cmusphinxbase/_metadata/homepage
@@ -0,0 +1 @@
+https://cmusphinx.sourceforge.io/
diff --git a/homebrew/cmusphinxbase/_metadata/name b/homebrew/cmusphinxbase/_metadata/name
new file mode 100644
index 000000000..b69c6d02d
--- /dev/null
+++ b/homebrew/cmusphinxbase/_metadata/name
@@ -0,0 +1 @@
+CmuSphinxbase
diff --git a/homebrew/cmusphinxbase/_metadata/version b/homebrew/cmusphinxbase/_metadata/version
new file mode 100644
index 000000000..aec258df7
--- /dev/null
+++ b/homebrew/cmusphinxbase/_metadata/version
@@ -0,0 +1 @@
+0.8
diff --git a/homebrew/cmusphinxbase/download.sh b/homebrew/cmusphinxbase/download.sh
new file mode 100755
index 000000000..5bf901f3f
--- /dev/null
+++ b/homebrew/cmusphinxbase/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz \ No newline at end of file