homebrew-core/Formula/cdparanoia.rb
Misty De Meo 8dc91cc8da cdparanoia Install libs as keg-only
Our patches to cdparanoia mean that it doesn't build cleanly against
software that expects the standard Linux version. Keeping those libs
around in /usr/local/lib is a problem waiting to happen.

Closes Homebrew/homebrew#7228.

Signed-off-by: Max Howell <max@methylblue.com>
2011-08-27 19:00:44 +01:00

26 lines
942 B
Ruby

require 'formula'
class Cdparanoia < Formula
url 'http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz'
homepage 'http://www.xiph.org/paranoia/'
md5 'b304bbe8ab63373924a744eac9ebc652'
def patches
[
"http://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch",
"http://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"
]
end
fails_with_llvm '"File too small" error while linking', :build => 2326
def install
system "autoconf"
# Libs are installed as keg-only because most software that searches for cdparanoia
# will fail to link against it cleanly due to our patches
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}", "--libdir=#{prefix}/libexec"
system "make all"
system "make install"
end
end