precomp 0.4.7

Closes #37604.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Igor Kapkov 2019-03-05 13:20:23 +11:00 committed by FX Coudert
parent 5f5d53cce5
commit a44a85a74b

View file

@ -1,8 +1,8 @@
class Precomp < Formula class Precomp < Formula
desc "Command-line precompressor to achieve better compression" desc "Command-line precompressor to achieve better compression"
homepage "http://schnaader.info/precomp.php" homepage "http://schnaader.info/precomp.php"
url "https://github.com/schnaader/precomp-cpp/archive/v0.4.6.tar.gz" url "https://github.com/schnaader/precomp-cpp/archive/v0.4.7.tar.gz"
sha256 "673b9ceb0df62abb5ef12ab0600a18fc3b82003cc9af5e1cc2f196237ed350d3" sha256 "b4064f9a18b9885e574c274f93d73d8a4e7f2bbd9e959beaa773f2e61292fb2b"
head "https://github.com/schnaader/precomp-cpp.git" head "https://github.com/schnaader/precomp-cpp.git"
bottle do bottle do
@ -13,10 +13,10 @@ class Precomp < Formula
sha256 "62c8a72958b6fa8ef0208560ff0ad6abf187aae842715bb84cddb21d46a69d35" => :el_capitan sha256 "62c8a72958b6fa8ef0208560ff0ad6abf187aae842715bb84cddb21d46a69d35" => :el_capitan
end end
def install depends_on "cmake" => :build
# Seems like Yosemite does not like the -s flag
inreplace "Makefile", " -s ", " "
def install
system "cmake", ".", *std_cmake_args
system "make" system "make"
bin.install "precomp" bin.install "precomp"
end end