homebrew-core/Formula/libde265.rb
2018-04-22 21:06:29 -07:00

24 lines
853 B
Ruby

class Libde265 < Formula
desc "Open h.265 video codec implementation"
homepage "https://github.com/strukturag/libde265"
url "https://github.com/strukturag/libde265/releases/download/v1.0.3/libde265-1.0.3.tar.gz"
sha256 "e4206185a7c67d3b797d6537df8dcaa6e5fd5a5f93bd14e65a755c33cd645f7a"
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--disable-sherlock265",
"--disable-dec265",
"--prefix=#{prefix}"
system "make", "install"
# Install the test-related executables in libexec.
(libexec/"bin").install bin/"acceleration_speed",
bin/"block-rate-estim",
bin/"tests"
end
test do
system libexec/"bin/tests"
end
end