homebrew-core/Formula/adobe-air-sdk.rb

22 lines
472 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class AdobeAirSdk < Formula
homepage 'http://www.adobe.com/products/air/sdk/'
2012-02-11 19:58:03 +00:00
url 'http://airdownload.adobe.com/air/mac/download/3.1/AdobeAIRSDK.tbz2'
md5 'f2137a34888ce71574da87e0cc3b7b06'
version '3.1'
def startup_script name
2012-02-11 19:58:03 +00:00
(bin+name).write <<-EOS.undent
#!/bin/bash
2012-02-11 19:58:03 +00:00
exec "#{libexec}/bin/#{name}" "$@"
EOS
end
def install
libexec.install Dir['*']
2012-02-11 19:58:03 +00:00
startup_script("adl")
startup_script("adt")
end
end