Last active
June 26, 2019 07:12
-
-
Save m4ce/f5ae1767a4016f76e8c2b62423b97f3b to your computer and use it in GitHub Desktop.
zstr.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Zstr < Formula | |
desc "A C++ header-only ZLib wrapper" | |
homepage "https://github.com/mateidavid/zstr" | |
url "https://github.com/gsr-zug/zstr/archive/1.0.2.tar.gz" | |
sha256 "bf3aedf1f00b3abde3e0df63e84c606923acaf711862ce25788c045cc4dfba6c" | |
revision 5 | |
depends_on "cmake" => :build | |
def install | |
mkdir "build" do | |
system "cmake", "..", *std_cmake_args | |
system "make", "install" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment