aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libbluray.rb
diff options
context:
space:
mode:
authorStefano Pigozzi2013-04-04 21:34:46 +0200
committerAdam Vandenberg2013-04-04 16:31:30 -0700
commitea9bbe7f45b9e4fca5ecb0eecba23d7296f172f8 (patch)
tree61cfeacacffd18c3ee33634a9a86ab8c534cdad0 /Library/Formula/libbluray.rb
parent4c7614cd4827cc0e96bf27921027bd8b6f61e5bf (diff)
downloadhomebrew-ea9bbe7f45b9e4fca5ecb0eecba23d7296f172f8.tar.bz2
libbluray 0.2.3
Closes #18973. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/libbluray.rb')
-rw-r--r--Library/Formula/libbluray.rb19
1 files changed, 12 insertions, 7 deletions
diff --git a/Library/Formula/libbluray.rb b/Library/Formula/libbluray.rb
index ab5025867..a466f7e01 100644
--- a/Library/Formula/libbluray.rb
+++ b/Library/Formula/libbluray.rb
@@ -2,19 +2,24 @@ 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'
+ url 'ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.3/libbluray-0.2.3.tar.bz2'
+ sha1 '604396b6051cbdfc56e6009c893f7a95d9d9e020'
head 'git://git.videolan.org/libbluray.git'
depends_on 'pkg-config' => :build
- depends_on :automake
- depends_on :libtool
+
+ if build.head?
+ depends_on :automake => :build
+ depends_on :autoconf => :build
+ depends_on :libtool => :build
+ end
def install
- system "./bootstrap"
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ ENV.libxml2
+
+ system "./bootstrap" if build.head?
+ system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make"
system "make install"
end