homebrew-core/Formula/libebml.rb

33 lines
1 KiB
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Libebml < Formula
homepage "http://www.matroska.org/"
url "http://dl.matroska.org/downloads/libebml/libebml-1.3.1.tar.bz2"
mirror "https://www.bunkus.org/videotools/mkvtoolnix/sources/libebml-1.3.1.tar.bz2"
sha256 "195894b31aaca55657c9bc157d744f23b0c25597606b97cfa5a9039c4b684295"
2010-01-04 06:08:41 +00:00
head do
url "https://github.com/Matroska-Org/libebml.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
end
2014-05-13 02:44:16 +00:00
2014-04-07 11:49:20 +00:00
bottle do
cellar :any
2015-02-13 03:56:46 +00:00
sha1 "5e3f974d17bd9f6fad89d19c403e3fd720f6c509" => :yosemite
sha1 "8bbd297bdca1e250bedf9f9a1800a8819fa97d34" => :mavericks
sha1 "c1ea1c44a4653770dd92ecfa64561f8f449f1da2" => :mountain_lion
2014-04-07 11:49:20 +00:00
end
2013-11-25 15:05:50 +00:00
option :cxx11
2010-01-04 06:08:41 +00:00
def install
2013-11-25 15:05:50 +00:00
ENV.cxx11 if build.cxx11?
system "autoreconf", "-fi" if build.head?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
2010-01-04 06:08:41 +00:00
end
end