Adobe AIR SDK 3.9

Also added an option for grabbing the version with the new compiler (for non-Flex users).

Closes Homebrew/homebrew#24330.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jonathan Barronville 2013-11-14 21:19:56 -05:00 committed by Adam Vandenberg
parent 3d331d431d
commit bfc5727b7b

View file

@ -1,13 +1,21 @@
require 'formula'
class AdobeAirSdk < Formula
homepage 'http://www.adobe.com/products/air/sdk/'
url 'http://airdownload.adobe.com/air/mac/download/3.8/AdobeAIRSDK.tbz2'
sha1 '30d090d13da218934da8e9327be99cd64bbaff6e'
homepage 'http://adobe.com/products/air/sdk'
option 'with-compiler', 'Grab the version with the new compiler (for non-Flex users).'
if build.with? 'compiler'
sha1 '1334fad165bab05f3abe0579ed1776e58c8da43e'
url 'http://airdownload.adobe.com/air/mac/download/3.9/AIRSDK_Compiler.tbz2'
else
sha1 '715da9ad8f3bc7a61dcc54835084cbc7b9a92d66'
url 'http://airdownload.adobe.com/air/mac/download/3.9/AdobeAIRSDK.tbz2'
end
def install
rm_f Dir["bin/*.bat"]
libexec.install Dir['*']
bin.write_exec_script libexec/'bin/adl'
bin.write_exec_script libexec/'bin/adt'
bin.write_exec_script Dir["#{libexec}/bin/*"]
end
end