mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
glew: update
Most code taken from the huge pull request
f28674a68b
and added another update, changed description.
This commit is contained in:
parent
61e7a72931
commit
7959eaf8dd
@ -1,23 +1,25 @@
|
||||
{ stdenv, fetchurl, mesa, x11, libXmu, libXi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glew-1.7.0";
|
||||
name = "glew-1.9.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/glew/${name}.tgz";
|
||||
sha256 = "02aw6sc4v1434m7awfcxqb0v987i2ykg3fncnp21i9g1n4zsclqn";
|
||||
sha256 = "11xpmsw7m5qn7y8fa2ihhqcislz1bdd83mp99didd5ac84756dlv";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa x11 libXmu libXi ];
|
||||
|
||||
installPhase = "
|
||||
GLEW_DEST=\$out make install
|
||||
mkdir -pv \$out/share/doc/glew
|
||||
cp -r README.txt LICENSE.txt doc \$out/share/doc/glew
|
||||
";
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform open-source C/C++ extension loading library";
|
||||
installPhase = ''
|
||||
GLEW_DEST=$out make install
|
||||
mkdir -pv $out/share/doc/glew
|
||||
mkdir -p $out/lib/pkgconfig
|
||||
cp glew*.pc $out/lib/pkgconfig
|
||||
cp -r README.txt LICENSE.txt doc $out/share/doc/glew
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An OpenGL extension loading library for C(++)";
|
||||
homepage = http://glew.sourceforge.net/;
|
||||
license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user