29 lines
911 B
Ruby
29 lines
911 B
Ruby
class Libdvdnav < Formula
|
|
homepage "https://dvdnav.mplayerhq.hu/"
|
|
url "https://download.videolan.org/pub/videolan/libdvdnav/5.0.3/libdvdnav-5.0.3.tar.bz2"
|
|
sha256 "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d"
|
|
|
|
head do
|
|
url "git://git.videolan.org/libdvdnav.git"
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "c99a864651ceff870b4a5826c80b6ef88ad8671d" => :yosemite
|
|
sha1 "30322b1a670e188773fea56f23604e02679530f8" => :mavericks
|
|
sha1 "c34ab3283adfcc429dbecebec5251a57ffd88a61" => :mountain_lion
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "libdvdread"
|
|
|
|
def install
|
|
system "autoreconf", "-if" if build.head?
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|