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