Commit 14ad825f authored by vincowl's avatar vincowl Committed by GitHub

[glew] Add package with version 2.1.0 (#3954)

* [glew] Add package with version 2.1.0

* [glew] remove unused comments

* [glew] add make arguments
Co-authored-by: default avatarVincent GIRARD <vincent@heliosphere.fr>
parent e6c70630
require 'package'
class Glew < Package
description 'GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform'
homepage 'http://glew.sourceforge.net/'
version '2.1.0'
source_url 'https://github.com/nigels-com/glew/releases/download/glew-2.1.0/glew-2.1.0.tgz'
source_sha256 '04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95'
binary_url ({
})
binary_sha256 ({
})
depends_on 'mesa'
def self.build
system "make",
"PREFIX=#{CREW_PREFIX}",
"LIBDIR=#{CREW_LIB_PREFIX}"
end
def self.install
system "make", "GLEW_DEST=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment