Skip to content

Instantly share code, notes, and snippets.

@pkondzior
Forked from jakebellacera/flex_sdk.rb
Last active August 29, 2015 14:24
Show Gist options
  • Save pkondzior/7a394b596f3ebfe5e8f1 to your computer and use it in GitHub Desktop.
Save pkondzior/7a394b596f3ebfe5e8f1 to your computer and use it in GitHub Desktop.
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.zip'
version '4.1.0.16076A'
sha1 'a71bca0715b9a830fe4e74c16fb4c2d9ef9910ca'
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