Skip to content

Instantly share code, notes, and snippets.

@jakebellacera
Last active December 16, 2015 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jakebellacera/5416397 to your computer and use it in GitHub Desktop.
Save jakebellacera/5416397 to your computer and use it in GitHub Desktop.
Flex SDK 4.1 Homebrew Formula
require 'formula'
class FlexSdk < Formula
homepage 'http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK'
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4/flex_sdk_4.1.0.16076A_mpl.zip'
version '4.1.0.16076A'
sha1 '05323a17fc298c5747f0383c3cfc8ad4c62e1965'
def install
libexec.install Dir['*']
end
def caveats; <<-EOS.undent
To use the SDK you will need to perform these two steps:
Add the SDK's bin folder to your $PATH:
export PATH=\"#{libexec}/bin:$PATH\"
Then, you will need to set $FLEX_HOME:
export FLEX_HOME=#{libexec}
EOS
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment