Last active
December 16, 2015 09:58
-
-
Save jakebellacera/5416397 to your computer and use it in GitHub Desktop.
Flex SDK 4.1 Homebrew Formula
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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