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

class Libbluray < Formula
  homepage 'http://www.videolan.org/developers/libbluray.html'
  url 'ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.2/libbluray-0.2.2.tar.bz2'
  sha1 'b0ce210736d012e4a5f155ec4ead3fc58abe143a'

  head 'git://git.videolan.org/libbluray.git'

  depends_on 'pkg-config' => :build
  depends_on :automake
  depends_on :libtool

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