-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Automated commit] push version-specific brew formula for city4cfd ve…
…rsion 0.4.6
- Loading branch information
1 parent
2d28dab
commit 469538b
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
class City4cfdAT046 < 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.4.6.tar.gz" | ||
sha256 "08e21377019439ae8fd000fa835b670c4e11d3a383fdf254926c5fe892c8cf07" | ||
|
||
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 |