7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
18 lines
556 B
Ruby
18 lines
556 B
Ruby
require 'formula'
|
|
|
|
class Sox <Formula
|
|
url 'http://downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz'
|
|
homepage 'http://sox.sourceforge.net/'
|
|
md5 'b99871c7bbae84feac9d0d1f010331ba'
|
|
|
|
depends_on 'libvorbis' => :optional
|
|
|
|
def install
|
|
# Linking error 'symbol not found' on 10.6 64-bit '"_gomp_thread_attr", referenced from:'
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-gomp"
|
|
|
|
system "make install"
|
|
end
|
|
end
|