diff options
Diffstat (limited to 'Library/Formula/cmu-sphinxbase.rb')
| -rw-r--r-- | Library/Formula/cmu-sphinxbase.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/cmu-sphinxbase.rb b/Library/Formula/cmu-sphinxbase.rb index b0f98c966..f0306b164 100644 --- a/Library/Formula/cmu-sphinxbase.rb +++ b/Library/Formula/cmu-sphinxbase.rb @@ -1,13 +1,15 @@ -require 'formula' +require "formula" class CmuSphinxbase < Formula - homepage 'http://cmusphinx.sourceforge.net/' - url 'https://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz' - sha1 'c0c4d52e143d07cd593bd6bcaeb92b9a8a5a8c8e' + homepage "http://cmusphinx.sourceforge.net/" + url "https://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz" + sha1 "c0c4d52e143d07cd593bd6bcaeb92b9a8a5a8c8e" - depends_on 'pkg-config' => :build - depends_on 'libsndfile' => :optional - depends_on 'libsamplerate' => :optional + depends_on "pkg-config" => :build + # If these are found, they will be linked against and there is no configure + # switch to turn them off. + depends_on "libsndfile" + depends_on "libsamplerate" => "with-libsndfile" def install system "./configure", "--disable-debug", |
