2010-03-27 19:51:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Glew < Formula
|
2011-08-30 18:56:33 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/glew/glew/1.7.0/glew-1.7.0.tgz'
|
2010-03-27 19:51:13 +00:00
|
|
|
homepage 'http://glew.sourceforge.net/'
|
2011-08-30 18:56:33 +00:00
|
|
|
md5 'fb7a8bb79187ac98a90b57f0f27a3e84'
|
2010-03-27 19:51:13 +00:00
|
|
|
|
|
|
|
def install
|
2011-10-24 20:02:37 +00:00
|
|
|
# Installs libGLEW, two cli apps, and libGLEWmx
|
|
|
|
system "make", "GLEW_DEST=#{prefix}", "all"
|
|
|
|
system "make", "GLEW_DEST=#{prefix}", "install.all"
|
2010-03-27 19:51:13 +00:00
|
|
|
end
|
|
|
|
end
|