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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'd809cab382c7a9d015491c69051a9d1c1a1a44f1'
|
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'
|
2012-10-06 23:37:13 +00:00
|
|
|
depends_on 'opencore-amr' => :optional
|
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
|