8dbabcbd25
mp3.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘const’ mp3.c:60: static mad_timer_t const mad_timer_zero_stub = {0, 0}; uses mad data type outside ifdef MAD, should be fixed upstream
20 lines
594 B
Ruby
20 lines
594 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 'pkg-config'
|
|
depends_on 'libvorbis' => :optional
|
|
depends_on 'flac' => :optional
|
|
depends_on 'libao' => :optional
|
|
depends_on 'mad' # see commit message
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-gomp"
|
|
system "make install"
|
|
end
|
|
end
|