February 2020
Intermediate to advanced
372 pages
9h 26m
English
Just in case you ever need to customize a package, Homebrew makes it easy to edit existing package definitions:
$ brew edit opencv
The package definitions are actually scripts in the Ruby programming language. Tips on editing them can be found on the Homebrew wiki page at https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md. A script may specify Make or CMake configuration flags, among other things.
After making edits to the Ruby script, save it.
The customized package can be treated as normal. For example, ...