Skip to content

Instantly share code, notes, and snippets.

@rjungemann
Created September 23, 2011 04:59
Show Gist options
  • Select an option

  • Save rjungemann/1236770 to your computer and use it in GitHub Desktop.

Select an option

Save rjungemann/1236770 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.5/flex_sdk_4.5.1.21328_mpl.zip'
homepage 'http://opensource.adobe.com/'
version 'v4.5.1.21328'
def install
#Dir.glob('bin/*').each { |file| bin.install file unless file.match /\.bat$|\.exe$/ }
#Dir.glob('lib/*').each { |file| lib.install file }
#libexec.install Dir['*']
Dir.glob("bin/*").each { |file| system "ln -s #{file} #{bin}/#{File.basename file}" }
end
end
@rjungemann
Copy link
Author

brew install "https://gist.github.com/raw/1236770/8c085be072ea32a53d4a9ff8407c7b54cf915e3b/flash_player.rb"

brew install "https://gist.github.com/raw/1236770/cf97506ece14f22fc7e737df66e0929a3ac59062/flex_sdk.rb"

@ransom4real
Copy link

The md5 checksum for the FlexSdk Formula seems to be incorrect. It is actually 55a59986092195a88cfe7b5796ec8619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment