homebrew-core/Formula/sox.rb

25 lines
720 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Sox < Formula
homepage 'http://sox.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/sox/sox/14.4.1/sox-14.4.1.tar.gz'
sha1 '71f05afc51e3d9b03376b2f98fd452d3a274d595'
depends_on 'pkg-config' => :build
depends_on :libpng
depends_on 'mad'
depends_on 'opencore-amr' => :optional
depends_on 'libvorbis' => :optional
depends_on 'flac' => :optional
depends_on 'libsndfile' => :optional
depends_on 'libao' => :optional
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gomp"
system "make install"
end
end