homebrew-core/Formula/sox.rb

21 lines
604 B
Ruby
Raw Normal View History

require 'formula'
class Sox <Formula
url 'http://downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz'
homepage 'http://sox.sourceforge.net/'
md5 'b99871c7bbae84feac9d0d1f010331ba'
depends_on 'pkg-config' => :build
depends_on 'libvorbis' => :optional
depends_on 'flac' => :optional
depends_on 'libao' => :optional
depends_on 'mad' # see commit message
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gomp"
system "make install"
end
end