Skip to content

Instantly share code, notes, and snippets.

@d6u
Forked from rjungemann/flash_player.rb
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save d6u/c62631ac4de8d37e05f2 to your computer and use it in GitHub Desktop.

Select an option

Save d6u/c62631ac4de8d37e05f2 to your computer and use it in GitHub Desktop.
# brew install "https://gist.githubusercontent.com/daiweilu/c62631ac4de8d37e05f2/raw/74353db12db030468edaa4c30e8a124a0c414dc7/flex_sdk.rb"
require 'formula'
class FlexSdk < Formula
homepage "http://www.adobe.com/devnet/flex.html"
url "http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip"
sha1 "7e66e84bef09e8c2c3183acf548c41d8114516ca"
def install
Dir['*'].each { |file| cp_r file, File.join( prefix, File.basename(file) ) }
ohai %{You will need to add the Flex SDK to your path:}
ohai %{ export PATH="#{bin}":$PATH}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment