11class Brotli < Formula
22 desc "Generic-purpose lossless compression algorithm by Google"
33 homepage "https://github.com/google/brotli"
4- url "https://github.com/google/brotli/archive/refs/tags/v1.1 .0.tar.gz"
5- mirror "http://fresh-center.net/linux/misc/brotli-1.1 .0.tar.gz"
6- mirror "http://fresh-center.net/linux/misc/legacy/brotli-1.1 .0.tar.gz"
7- sha256 "e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff "
4+ url "https://github.com/google/brotli/archive/refs/tags/v1.2 .0.tar.gz"
5+ mirror "http://fresh-center.net/linux/misc/brotli-1.2 .0.tar.gz"
6+ mirror "http://fresh-center.net/linux/misc/legacy/brotli-1.2 .0.tar.gz"
7+ sha256 "816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec "
88 license "MIT"
99 head "https://github.com/google/brotli.git" , branch : "master"
1010
@@ -28,7 +28,7 @@ class Brotli < Formula
2828 depends_on "cmake" => :build
2929
3030 def install
31- system "cmake" , "-S" , "." , "-B" , "build" , *std_cmake_args
31+ system "cmake" , "-S" , "." , "-B" , "build" , "-DCMAKE_INSTALL_RPATH= #{ rpath } " , *std_cmake_args
3232 system "cmake" , "--build" , "build" , "--verbose"
3333 system "ctest" , "--test-dir" , "build" , "--verbose"
3434 system "cmake" , "--install" , "build"
0 commit comments