2014-05-13 16:53:06 +00:00
|
|
|
require "formula"
|
2011-02-04 10:40:13 +00:00
|
|
|
|
2014-05-13 16:53:06 +00:00
|
|
|
# Find downloads at:
|
|
|
|
# https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
|
2011-03-10 05:11:03 +00:00
|
|
|
class AdobeAirSdk < Formula
|
2014-05-13 16:53:06 +00:00
|
|
|
homepage "http://adobe.com/products/air/sdk"
|
|
|
|
version "13.0"
|
2013-11-15 02:19:56 +00:00
|
|
|
|
2014-05-13 16:53:06 +00:00
|
|
|
option "with-flex-support", "Do not download the new compiler with the SDK."
|
2013-11-15 02:19:56 +00:00
|
|
|
|
2014-05-13 16:53:06 +00:00
|
|
|
if build.without? "flex-support"
|
|
|
|
url "http://airdownload.adobe.com/air/mac/download/13.0/AIRSDK_Compiler.tbz2"
|
|
|
|
sha1 "b3f15e01bb4f2ec4d82151257672156aa49f3ba8"
|
2013-11-15 02:19:56 +00:00
|
|
|
else
|
2014-05-13 16:53:06 +00:00
|
|
|
url "http://airdownload.adobe.com/air/mac/download/13.0/AdobeAIRSDK.tbz2"
|
|
|
|
sha1 "dfbdde7e7de31804ad3d74df9f0ba71c5cf5c2ad"
|
2013-11-15 02:19:56 +00:00
|
|
|
end
|
2011-02-04 10:40:13 +00:00
|
|
|
|
|
|
|
def install
|
2013-11-15 02:19:56 +00:00
|
|
|
rm_f Dir["bin/*.bat"]
|
2014-05-13 16:53:06 +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
|