Sha256: 00677a7aba2772eee333c8309e8116e29ac5576cee0fb2b47a62e74d045a5af1

Contents?: true

Size: 832 Bytes

Versions: 1

Compression:

Stored size: 832 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'
require 'highline/import'

if ask('Do you wish to install homebrew? [y/n]') =~ /^[Yy]$/
  puts 'Installing homebrew'
  `/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"`
end

if ask('Install required libs with homebrew? [y/n]') =~ /^[Yy]$/
  puts 'Installing required libs with homebrew'
  `brew update && brew install libtool giflib boost libagg gconf`
end

if ask('Install gnash? This may take a while! [y/n]') =~ /^[Yy]$/

  puts 'Installing gnash'

  `export CC=gcc-4.2
   cd /tmp/
   rm -fr gnash
   git clone git://git.sv.gnu.org/gnash.git
   cd gnash
   ./autogen.sh
   ./configure --prefix=/usr/local/gnash-dump --enable-renderer=agg --enable-gui=dump --enable-media=no --disable-kparts --disable-nsapi --disable-menus
   make
   sudo make install`
end

puts 'Done'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thwomp-0.1.0 bin/install_gnash_osx