2011-03-15 11:05:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class CmuSphinxbase < Formula
|
|
|
|
homepage 'http://cmusphinx.sourceforge.net/'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz'
|
2012-12-14 00:32:29 +00:00
|
|
|
sha1 'c0c4d52e143d07cd593bd6bcaeb92b9a8a5a8c8e'
|
2012-06-10 18:38:59 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2013-01-21 09:33:56 +00:00
|
|
|
depends_on :python
|
2013-07-31 15:40:23 +00:00
|
|
|
depends_on 'libsndfile' => :optional
|
|
|
|
depends_on 'libsamplerate' => :optional
|
2011-03-15 11:05:58 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-10 18:38:59 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2011-03-15 11:05:58 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2013-08-01 05:16:42 +00:00
|
|
|
|
|
|
|
def caveats
|
2013-08-02 17:37:26 +00:00
|
|
|
python.standard_caveats if python
|
2013-08-01 05:16:42 +00:00
|
|
|
end
|
2011-03-15 11:05:58 +00:00
|
|
|
end
|