xxxxxxxxxx
brew install --interactive foo
xxxxxxxxxx
conflicts_with "blueduck", because: "yellowduck also ships a duck binary"
xxxxxxxxxx
option "with-foo", "Compile with foo bindings" # This overrides the generated description if you want to
depends_on "foo" => :optional # Generated description would otherwise be "Build with foo support"
xxxxxxxxxx
class Foo < Formula
depends_on "pkg-config"
depends_on "jpeg"
depends_on "readline" => :recommended
depends_on "gtk+" => :optional
depends_on "httpd" => [:build, :test]
depends_on :xcode => "9.3"
end