2010-03-27 19:51:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Glew < Formula
|
2011-02-07 18:36:15 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/glew/glew/1.5.8/glew-1.5.8.tgz'
|
2010-03-27 19:51:13 +00:00
|
|
|
homepage 'http://glew.sourceforge.net/'
|
2011-02-07 18:36:15 +00:00
|
|
|
md5 '342c8dc64fb9daa6af245b132e086bdd'
|
2010-03-27 19:51:13 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
(lib+'pkgconfig').mkpath
|
|
|
|
system "make", "GLEW_DEST=#{prefix}"
|
|
|
|
system "make", "GLEW_DEST=#{prefix}", "install"
|
2010-03-27 19:51:13 +00:00
|
|
|
end
|
|
|
|
end
|