7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
13 lines
349 B
Ruby
13 lines
349 B
Ruby
require 'formula'
|
|
|
|
class Glew <Formula
|
|
url 'http://downloads.sourceforge.net/project/glew/glew/1.5.5/glew-1.5.5.tgz'
|
|
homepage 'http://glew.sourceforge.net/'
|
|
md5 '3621f27cfd3e33d5dbcc1111ecb5b762'
|
|
|
|
def install
|
|
(lib+'pkgconfig').mkpath
|
|
system "make", "GLEW_DEST=#{prefix}"
|
|
system "make", "GLEW_DEST=#{prefix}", "install"
|
|
end
|
|
end
|