2010-01-28 16:57:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sox < Formula
|
2010-01-28 16:57:05 +00:00
|
|
|
homepage 'http://sox.sourceforge.net/'
|
2012-03-12 15:40:41 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/sox/sox/14.4.0/sox-14.4.0.tar.gz'
|
|
|
|
md5 'b0c15cff7a4ba0ec17fdc74e6a1f9cf1'
|
2010-01-28 16:57:05 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :libpng
|
|
|
|
depends_on 'mad'
|
2010-01-31 16:00:45 +00:00
|
|
|
depends_on 'libvorbis' => :optional
|
2010-08-24 16:11:26 +00:00
|
|
|
depends_on 'flac' => :optional
|
2011-09-05 21:16:13 +00:00
|
|
|
depends_on 'libsndfile' => :optional
|
2010-08-24 16:11:26 +00:00
|
|
|
depends_on 'libao' => :optional
|
2010-01-31 16:00:45 +00:00
|
|
|
|
2010-01-28 16:57:05 +00:00
|
|
|
def install
|
2012-06-07 01:35:12 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-gomp"
|
2010-01-28 16:57:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|