homebrew-core/Formula/cdrdao.rb
Douglas Creager 05f5aeae86 cdparanoia and cdrdao fail with LLVM
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-04 15:07:53 -08:00

26 lines
853 B
Ruby

require 'formula'
class Cdrdao <Formula
url 'http://downloads.sourceforge.net/project/cdrdao/cdrdao/1.2.3/cdrdao-1.2.3.tar.bz2'
homepage 'http://cdrdao.sourceforge.net/'
md5 '8d15ba6280bb7ba2f4d6be31d28b3c0c'
depends_on 'pkg-config' => :build
depends_on 'libao'
depends_on 'libvorbis'
depends_on 'mad'
depends_on 'lame'
# fixes build problems under 10.6
# see http://sourceforge.net/tracker/index.php?func=detail&aid=2981804&group_id=2171&atid=302171
def patches
"http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804"
end
def install
fails_with_llvm "Segfault while linking", :build => 2326
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end