blob: c9a1a1c3c25c07a180b3035b0120e7b98b959e84 (
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 '95fab877991fa749436d695cd612f7f4abfa7ee0'
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
|