2010-03-27 19:51:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Glew < Formula
|
2010-03-27 19:51:13 +00:00
|
|
|
homepage 'http://glew.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/glew/glew/1.10.0/glew-1.10.0.tgz'
|
2013-07-22 20:49:06 +00:00
|
|
|
sha1 'f41b45ca4a630ad1d00b8b87c5f493781a380300'
|
2010-03-27 19:51:13 +00:00
|
|
|
|
|
|
|
def install
|
2013-09-04 16:05:53 +00:00
|
|
|
inreplace "glew.pc.in", "Requires: glu", ""
|
2011-10-24 20:02:37 +00:00
|
|
|
system "make", "GLEW_DEST=#{prefix}", "all"
|
|
|
|
system "make", "GLEW_DEST=#{prefix}", "install.all"
|
2010-03-27 19:51:13 +00:00
|
|
|
end
|
|
|
|
end
|