Skip to content

Instantly share code, notes, and snippets.

@jamiely
Created November 25, 2011 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiely/1394440 to your computer and use it in GitHub Desktop.
Save jamiely/1394440 to your computer and use it in GitHub Desktop.
Homebrew file for rubysdl (sdl bindings for Ruby)
require 'formula'
class Rubysdl < Formula
url 'http://rubyforge.org/frs/download.php/67740/rubysdl-2.1.1.1.tar.gz'
md5 '322ed760f8afd3a4450ab1228c2efc2e'
homepage 'http://www.kmc.gr.jp/~ohai/rubysdl.en.html'
depends_on "sdl"
depends_on "sdl_image"
depends_on "sdl_ttf"
depends_on "smpeg"
depends_on "sdl_mixer"
depends_on "sge" # https://gist.github.com/1394414
def install
system "ruby extconf.rb"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment