homebrew-core/Formula/seexpr.rb
2018-08-24 12:39:06 +02:00

32 lines
1.1 KiB
Ruby

class Seexpr < Formula
desc "Embeddable expression evaluation engine"
homepage "https://www.disneyanimation.com/technology/seexpr.html"
url "https://github.com/wdas/SeExpr/archive/v2.11.tar.gz"
sha256 "bf4a498f86aa3fc19aad3d7384de11d5df76f7f71587c9bd789f5e50f8090e1a"
bottle do
cellar :any
sha256 "f240a108c552c37d6f070d5048f1f00a33055243a5a82e6f017481fd452847a0" => :mojave
sha256 "a5a7e8224eb7669dc0fea2178df7d51be1733f9fb82d4c0bb1851608f18c4722" => :high_sierra
sha256 "762881f740d763d3c2477f5ead9b2fc7c549f38721b39e999f9b6634f5215b68" => :sierra
sha256 "0a374c2f84169d0b4ab064dfdd2dee856d5f80c9b8b27eee57e3d1614abffaa9" => :el_capitan
sha256 "c023332d27c1977db807f890011688ed756eb130fa1df40aa562776192733ffd" => :yosemite
sha256 "2e55d79f1519adbf0f1fdcf566aa67bd5515a60132516e2908250831d8e40355" => :mavericks
end
depends_on "cmake" => :build
depends_on "doxygen" => :build
depends_on "libpng"
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "doc"
system "make", "install"
end
end
test do
system bin/"asciigraph"
end
end