homebrew-core/Formula/libebml.rb
2017-08-19 04:52:52 -07:00

33 lines
1.1 KiB
Ruby

class Libebml < Formula
desc "Sort of a sbinary version of XML"
homepage "https://www.matroska.org/"
url "https://dl.matroska.org/downloads/libebml/libebml-1.3.5.tar.xz"
mirror "https://www.bunkus.org/videotools/mkvtoolnix/sources/libebml-1.3.5.tar.xz"
sha256 "d818413f60742c2f036ba6f582c5e0320d12bffec1b0fc0fc17a398b6f04aa00"
bottle do
cellar :any
sha256 "72ea79b1b694d3ba054af56ed8aef46957e9ca2cb71642a0c9576121d1333e48" => :sierra
sha256 "07ee02f2d332d60c9377117e47471f44ef7843de0f162acd067fe732f4d23c1d" => :el_capitan
sha256 "c2d4a00cc8e80a2969fa14cb71a84f0e3e26342402c77fdbc641b2e48fec851e" => :yosemite
end
head do
url "https://github.com/Matroska-Org/libebml.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
end
option :cxx11
def install
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"
end
end