Last active
July 20, 2020 13:07
-
-
Save m4ce/2331250c26cd5c21d349ce430f0301d9 to your computer and use it in GitHub Desktop.
HowardHinnant's date library
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
class HowardHinnantDate < Formula | |
desc "C++ library for date and time operations based on <chrono>" | |
version "3.0.0" | |
homepage "https://github.com/HowardHinnant/date" | |
url "https://github.com/gsr-zug/date/archive/feat/fix_cmake.tar.gz" | |
sha256 "5638885c0ba334704ae135c21f071dc16a3e6590400e82dd99368ac1699ec0fc" | |
depends_on "cmake" => :build | |
def install | |
system "cmake", ".", *std_cmake_args, | |
"-DENABLE_DATE_TESTING=OFF", | |
"-DUSE_SYSTEM_TZ_DB=ON", | |
"-DBUILD_SHARED_LIBS=ON", | |
"-DBUILD_TZ_LIB=ON" | |
system "make", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment