Open olesenm opened 2 years ago
If you are trying to build a new recipe, here are some additional reference points:
Not really sure which one fits best with homebrew, but if you want make, make install type of use - consider how the spec file is handling this:
https://develop.openfoam.com/Development/openfoam/-/wikis/packaging/common/openfoamAPI.spec
Around lines 530-540:
"$installer" -v \ -source="$sourceDir" \ -prefix="$targetDir" \ -all -collate
And lines 575-580:
"$installer" -v \ -source="$sourceDir" -platform="$WM_OPTIONS" \ -prefix="$targetDir" \ -no-mpi
The corresponding files of interest would be bin/tools/install-dirs and bin/tools/install-platform.
bin/tools/install-dirs
bin/tools/install-platform
I think you can use many ideas from those.
Excellent; thanks! These will be helpful.
If you are trying to build a new recipe, here are some additional reference points:
Not really sure which one fits best with homebrew, but if you want make, make install type of use - consider how the spec file is handling this:
https://develop.openfoam.com/Development/openfoam/-/wikis/packaging/common/openfoamAPI.spec
Around lines 530-540:
And lines 575-580:
The corresponding files of interest would be
bin/tools/install-dirs
andbin/tools/install-platform
.I think you can use many ideas from those.