Skip to content

Instantly share code, notes, and snippets.

@jtvjt
Created April 17, 2012 23:58
Show Gist options
  • Save jtvjt/2409995 to your computer and use it in GitHub Desktop.
Save jtvjt/2409995 to your computer and use it in GitHub Desktop.
Flex SDK 4.5.1
require 'formula'
class FlexSdk < Formula
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_4.5.1.21328.zip'
md5 '55a59986092195a88cfe7b5796ec8619'
homepage 'http://opensource.adobe.com/'
version 'v4.5.1.21328'
def install
Dir['*'].each { |file| cp_r file, File.join( prefix, File.basename(file) ) }
ohai %{You will need to add the Flex SDK to your path and FLEX_HOME to your env:}
ohai %{ export PATH="#{bin}":$PATH}
ohai %{ export FLEX_HOME="#{prefix}"}
end
end
@jtvjt
Copy link
Author

jtvjt commented Apr 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment