Gist b920d015b95bc608e2f5
✓ Published0🌍 Public
TThanad
Last edited Jul 24, 2014
Created on Jul 24, 2014
The example shows two Homebrew formula definitions, `flash_player.rb` and `flex_sdk.rb`, that install Adobe Flash Player Debugger and Adobe Flex SDK respectively. The code uses the Ruby `Formula` class from Homebrew to specify download URLs, SHA1 checksums, and homepage metadata for each package. Both formulas define an `install` method that copies downloaded files into the Homebrew prefix and, for Flash Player, creates a symbolic link to `/Applications`. The Flex SDK formula also prints terminal instructions for adding the SDK to the user’s `PATH` using the `ohai` command.
AI-generated description