Skip to content

Instantly share code, notes, and snippets.

@jamiely
Created November 25, 2011 21:09
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/1394414 to your computer and use it in GitHub Desktop.
Save jamiely/1394414 to your computer and use it in GitHub Desktop.
Homebrew file for SGE (an SDL library)
require 'formula'
class Sge < Formula
url 'http://www.digitalfanatics.org/cal/sge/files/sge030809.tar.gz'
homepage 'http://www.digitalfanatics.org/cal/sge/'
md5 'a76975665b6a2bf189130fa2c8821caf'
depends_on "sdl"
depends_on "sdl_image"
def install
system "make install"
lib.install "libSGE.dylib"
end
def patches
{ :p0 => %w{https://gist.github.com/raw/963525/7b638e4100f9dd1a9d00560b98ea2ddd4375b2b0/sge_030809_freetype.patch
https://gist.github.com/raw/963522/5b277a0a6b08a1c077fbe2c96eead4ef1d761856/sge-030809-build.patch
https://gist.github.com/raw/787030/786bfe2497649ed84dafbe813faa1914d417e0b1/sge_makefile_mac_os_x.patch},
:p1 => "https://gist.github.com/raw/963524/c03396e1fb8bb87e9f4ba92597d087f730c6c48b/sge_030809_cmap.patch"
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment