aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmu-sphinxbase.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-06-15 15:21:58 -0700
committerAdam Vandenberg2014-06-15 15:21:58 -0700
commite4f26c39cd1a7c065d3a2b37a9dcf748533c92df (patch)
tree8ee923cff395fe20dfe8eb7f842b672a58c8c901 /Library/Formula/cmu-sphinxbase.rb
parenteadd2b874928b8da02aef64efdeedb804d402be9 (diff)
downloadhomebrew-e4f26c39cd1a7c065d3a2b37a9dcf748533c92df.tar.bz2
cmu-sphixbase: libsndfile is linked if found
Closes #28139.
Diffstat (limited to 'Library/Formula/cmu-sphinxbase.rb')
-rw-r--r--Library/Formula/cmu-sphinxbase.rb16
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",