Files
tigerbrew/Library/Formula/libbluray.rb
T
msergeyy 30e9f1b45b libbluray 0.5.0
Closes #26170.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-01-25 20:22:28 -06:00

28 lines
694 B
Ruby

require 'formula'
class Libbluray < Formula
homepage 'http://www.videolan.org/developers/libbluray.html'
url 'ftp://ftp.videolan.org/pub/videolan/libbluray/0.5.0/libbluray-0.5.0.tar.bz2'
sha1 '1a9c61daefc31438f9165e7681c563d0524b2d3e'
head do
url 'git://git.videolan.org/libbluray.git'
depends_on :automake => :build
depends_on :autoconf => :build
depends_on :libtool => :build
end
depends_on 'pkg-config' => :build
depends_on :freetype => :recommended
def install
ENV.libxml2
system "./bootstrap" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make"
system "make install"
end
end