homebrew-core/Formula/cdparanoia.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

34 lines
1.2 KiB
Ruby

class Cdparanoia < Formula
desc "Audio extraction tool for sampling CDs"
homepage "http://www.xiph.org/paranoia/"
url "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz"
sha256 "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"
depends_on "autoconf" => :build
fails_with :llvm do
build 2326
cause '"File too small" error while linking'
end
patch do
url "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch"
sha256 "3eca8ff34d2617c460056f97457b5ac62db1983517525e5c73886a2dea9f06d9"
end
patch do
url "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"
sha256 "4d6d51909d1b29a3c8ac349f5132a8acd96628355117efb3f192408d2cc4829e"
end
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", "--prefix=#{prefix}",
"--mandir=#{man}",
"--libdir=#{libexec}"
system "make", "all"
system "make", "install"
end
end