Skip to content

Instantly share code, notes, and snippets.

@mmoss
Forked from trekdemo/flash_player.rb
Created July 15, 2020 14:22
Show Gist options
  • Save mmoss/7fd9c89e222356eb093a9a260e29650a to your computer and use it in GitHub Desktop.
Save mmoss/7fd9c89e222356eb093a9a260e29650a to your computer and use it in GitHub Desktop.
FlexSDK Homebrew formula. Installs mxmlc and other tools.
require 'formula'
class FlexSdk < Formula
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip'
md5 '202bca98ee7b8db9cda3af01e99c688e'
homepage 'http://opensource.adobe.com/'
version 'v4.6.0.23201'
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