blob: be975e8ecc0d3116586363495887494ab5b2f647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class AdobeAirSdk < Formula
homepage 'http://www.adobe.com/products/air/sdk/'
url 'http://airdownload.adobe.com/air/mac/download/3.3/AdobeAIRSDK.tbz2'
sha1 '6fd563409e59e3ee66fa8ce0b60d4e9896b9a4af'
version '3.3'
def startup_script name
(bin+name).write <<-EOS.undent
#!/bin/bash
exec "#{libexec}/bin/#{name}" "$@"
EOS
end
def install
libexec.install Dir['*']
startup_script("adl")
startup_script("adt")
end
end
|