aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-15 11:10:32 -0800
committerAdam Vandenberg2012-01-15 11:10:32 -0800
commit1b0071cb3c53297ff386a4cca68d4663d5d634eb (patch)
treee1136a2f6f5245da5cfaff65c25d6fd848945f93 /Library
parent4b5eec6762d2ee72e39e1a03c1faba9910b6d92d (diff)
downloadhomebrew-1b0071cb3c53297ff386a4cca68d4663d5d634eb.tar.bz2
flex-sdk: 4.6.0.23201 (MPL)
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/flex_sdk.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/flex_sdk.rb b/Library/Formula/flex_sdk.rb
new file mode 100644
index 000000000..065ea68d4
--- /dev/null
+++ b/Library/Formula/flex_sdk.rb
@@ -0,0 +1,27 @@
+require 'formula'
+
+class FlexSdk < Formula
+ url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201_mpl.zip'
+ version '4.6.0.23201'
+ homepage 'http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK'
+ md5 'ff7b362fff908b620573405510541ce0'
+
+ def install
+ libexec.install Dir['*']
+ end
+
+ def caveats; <<-EOS.undent
+ To use the SDK you will need to:
+
+ (a) add the bin folder to your $PATH:
+ #{libexec}/bin
+
+ (b) set $FLEX_HOME:
+ export FLEX_HOME=#{libexec}
+
+ (c) add the tasks jar to ANT:
+ mkdir -p ~/.ant/lib
+ ln -s #{libexec}/ant/lib/flexTasks.jar ~/.ant/lib
+ EOS
+ end
+end