aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libcdio.rb
blob: 650bff170fce4dd18b27b0e8dc709891d5a2fa0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Libcdio < Formula
  url 'http://ftpmirror.gnu.org/libcdio/libcdio-0.82.tar.gz'
  md5 '1c29b18e01ab2b966162bc727bf3c360'
  homepage 'http://www.gnu.org/software/libcdio/'

  depends_on 'pkg-config' => :build

  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end

  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
end