2011-02-04 10:40:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class AdobeAirSdk < Formula
|
2013-11-15 02:19:56 +00:00
|
|
|
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
|
2011-02-04 10:40:13 +00:00
|
|
|
|
|
|
|
def install
|
2013-11-15 02:19:56 +00:00
|
|
|
rm_f Dir["bin/*.bat"]
|
2011-02-04 10:40:13 +00:00
|
|
|
libexec.install Dir['*']
|
2013-11-15 02:19:56 +00:00
|
|
|
bin.write_exec_script Dir["#{libexec}/bin/*"]
|
2011-02-04 10:40:13 +00:00
|
|
|
end
|
|
|
|
end
|