homebrew-core/Formula/adobe-air-sdk.rb
Tarcisio Gruppi ec378fb00c adobe-air-sdk 3.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-11 22:01:36 -08:00

24 lines
498 B
Ruby

require 'formula'
class AdobeAirSdk < Formula
url 'http://airdownload.adobe.com/air/mac/download/3.1/AdobeAIRSDK.tbz2'
homepage 'http://www.adobe.com/products/air/sdk/'
md5 '4513becdbbbe82650ad7974ace859088'
version '3.1'
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