From ee568f799c5e941fb121987cdf993ae66c9c9c27 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 27 Feb 2025 12:22:29 +0000 Subject: [PATCH] [Automated commit] push version-specific brew formula for city4cfd version 0.6.2 --- Formula/city4cfd@0.6.2.rb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Formula/city4cfd@0.6.2.rb diff --git a/Formula/city4cfd@0.6.2.rb b/Formula/city4cfd@0.6.2.rb new file mode 100644 index 0000000..eb8b9ad --- /dev/null +++ b/Formula/city4cfd@0.6.2.rb @@ -0,0 +1,30 @@ +class City4cfdAT062 < Formula + desc "Reconstruction of 3D city models tailored to urban CFD simulations" + homepage "https://github.com/tudelft3d/city4cfd" + url "https://github.com/tudelft3d/city4cfd/archive/0.6.2.tar.gz" + sha256 "b2686e9c81364462c3aa1382da795432222586725f821885d14fc492976576cf" + + depends_on "cmake" => :build + depends_on "cgal" + depends_on "eigen" + depends_on "gdal" + depends_on "libomp" + + def install + system "cmake", ".", *std_cmake_args + system "make", "install" + end + + test do + # `test do` will create, run in and delete a temporary directory. + # + # This test will fail and we won't accept that! For Homebrew/homebrew-core + # this will need to be a test that verifies the functionality of the + # software. Run the test with `brew test val3dity`. Options passed + # to `brew install` such as `--HEAD` also need to be provided to `brew test`. + # + # The installed folder is not in the path, so use the entire path to any + # executables being tested: `system "#{bin}/program", "do", "something"`. + system "false" + end +end