2010-01-28 16:57:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Sox <Formula
|
2010-01-31 16:00:45 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/sox/sox/14.3.0/sox-14.3.0.tar.gz'
|
2010-01-28 16:57:05 +00:00
|
|
|
homepage 'http://sox.sourceforge.net/'
|
|
|
|
md5 '8e3509804e6227273ef84092e1a2fea7'
|
|
|
|
|
2010-01-31 16:00:45 +00:00
|
|
|
depends_on 'libvorbis' => :optional
|
|
|
|
|
2010-01-28 16:57:05 +00:00
|
|
|
def install
|
2010-01-31 16:00:45 +00:00
|
|
|
configure_args = [
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
]
|
|
|
|
# Linking error 'symbol not found' on 10.6 64-bit '"_gomp_thread_attr", referenced from:'
|
|
|
|
configure_args << "--disable-gomp"
|
|
|
|
|
|
|
|
system "./configure", *configure_args
|
2010-01-28 16:57:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|