2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-09 17:54:23 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libcdio < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/libcdio/libcdio-0.82.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz'
|
2010-08-31 16:37:18 +00:00
|
|
|
md5 '1c29b18e01ab2b966162bc727bf3c360'
|
2009-10-09 17:54:23 +00:00
|
|
|
homepage 'http://www.gnu.org/software/libcdio/'
|
|
|
|
|
2011-03-22 18:17:30 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2009-10-09 17:54:23 +00:00
|
|
|
def install
|
2011-03-22 18:17:30 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2009-10-09 17:54:23 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-22 18:17:30 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
On Snow Leopard 10.6.5 libcdio 0.82 doesn't build with the OSX drivers.
|
|
|
|
See: http://savannah.gnu.org/bugs/?30019
|
|
|
|
|
|
|
|
Attempting to force Darwin detection will cause IOKit build errors.
|
|
|
|
EOS
|
|
|
|
end
|
2009-10-09 17:54:23 +00:00
|
|
|
end
|