aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Castell2011-02-04 11:40:13 +0100
committerAdam Vandenberg2011-02-04 07:24:43 -0800
commit06c95d699f23e6eb0e2814ccb0218c6e2298e62f (patch)
treea4cfba8cecdc0949ad9c03eca8990cfc9df342a8
parent8dfda923ab05048fbd8e025aca450dbd29de9d93 (diff)
downloadhomebrew-06c95d699f23e6eb0e2814ccb0218c6e2298e62f.tar.bz2
New formula Adobe AIR SDK
The AdobeĀ® AIRĀ® SDK provides the tools necessary to build and deploy Adobe AIR applications. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/adobe-air-sdk.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/adobe-air-sdk.rb b/Library/Formula/adobe-air-sdk.rb
new file mode 100644
index 000000000..080727b06
--- /dev/null
+++ b/Library/Formula/adobe-air-sdk.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+class AdobeAirSdk <Formula
+ url 'http://airdownload.adobe.com/air/mac/download/latest/AdobeAIRSDK.tbz2'
+ homepage 'http://www.adobe.com/products/air/sdk/'
+ md5 'e46e1da07f01611d905b6ec89b8b1331'
+ version '2.5'
+
+ def startup_script name
+ <<-EOS.undent
+ #!/bin/bash
+ exec #{libexec}/bin/#{name} $@
+ EOS
+ end
+
+ def install
+ libexec.install Dir['*']
+
+ bin.mkpath
+ %w[adl adt].each do |tool|
+ (bin+tool).write startup_script(tool)
+ end
+ end
+end