cmu-sphixbase: libsndfile is linked if found
Closes Homebrew/homebrew#28139.
This commit is contained in:
parent
615cf0f9eb
commit
e071aee479
1 changed files with 9 additions and 7 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue