Created
September 23, 2011 04:59
-
-
Save rjungemann/1236770 to your computer and use it in GitHub Desktop.
FlexSDK Homebrew formula. Installs mxmlc and other tools.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class FlashPlayer < Formula | |
url 'http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa_debug.app.zip' | |
md5 '2770acd6997bfd5016dd51acfb20c025' | |
homepage 'http://adobe.com' | |
version '11.1' | |
def install | |
name = 'Flash Player Debugger.app' | |
cp_r '.', "#{prefix}/#{name}" | |
ln_s "#{prefix}/#{name}", "/Applications/#{name}" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class FlexSdk < Formula | |
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_4.5.1.21328.zip' | |
md5 'a53f386509bbd40b0e15df43af360cfa' | |
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:} | |
ohai %{ export PATH="#{bin}":$PATH} | |
end | |
end |
The md5 checksum for the FlexSdk Formula seems to be incorrect. It is actually 55a59986092195a88cfe7b5796ec8619
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew install "https://gist.github.com/raw/1236770/8c085be072ea32a53d4a9ff8407c7b54cf915e3b/flash_player.rb"
brew install "https://gist.github.com/raw/1236770/cf97506ece14f22fc7e737df66e0929a3ac59062/flex_sdk.rb"