2011-03-10 05:11:03 +00:00
|
|
|
class Cdparanoia < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Audio extraction tool for sampling CDs"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://www.xiph.org/paranoia/"
|
|
|
|
url "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz"
|
|
|
|
sha256 "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"
|
2010-08-28 20:14:15 +00:00
|
|
|
|
2014-12-04 22:38:00 +00:00
|
|
|
depends_on "autoconf" => :build
|
2012-05-15 21:17:32 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2326
|
|
|
|
cause '"File too small" error while linking'
|
|
|
|
end
|
|
|
|
|
2014-03-14 15:03:23 +00:00
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "3eca8ff34d2617c460056f97457b5ac62db1983517525e5c73886a2dea9f06d9"
|
2014-03-14 15:03:23 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "4d6d51909d1b29a3c8ac349f5132a8acd96628355117efb3f192408d2cc4829e"
|
2010-08-28 20:14:15 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "autoconf"
|
2011-08-26 14:39:51 +00:00
|
|
|
# Libs are installed as keg-only because most software that searches for cdparanoia
|
|
|
|
# will fail to link against it cleanly due to our patches
|
2013-11-14 22:07:33 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
2012-07-07 18:08:22 +00:00
|
|
|
"--mandir=#{man}",
|
|
|
|
"--libdir=#{libexec}"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "all"
|
|
|
|
system "make", "install"
|
2010-08-28 20:14:15 +00:00
|
|
|
end
|
|
|
|
end
|