glew added

svn path=/nixpkgs/trunk/; revision=10164
This commit is contained in:
Marc Weber 2008-01-16 02:20:46 +00:00
parent 434fef9891
commit dc2769ded8
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,17 @@
args:
args.stdenv.mkDerivation {
name = "glew-1.5.0";
src = args.fetchurl {
url = http://dfn.dl.sourceforge.net/sourceforge/glew/glew-1.5.0-src.tgz;
sha256 = "1kjr1fchnl785wsg11vzc03q3pm12lh20n1i593zr1xqfjgx2b4h";
};
buildInputs =(with args; [mesa x11 libXmu libXi libtool]);
meta = {
description = "cross-platform open-source C/C++ extension loading library";
homepage = http://glew.sourceforge.net/;
license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0
};
}

View File

@ -1852,6 +1852,11 @@ rec {
};
};
glew = import ../development/libraries/glew {
inherit fetchurl stdenv mesa x11;
inherit (xlibs) libXmu libXi;
};
glibc = useFromStdenv (stdenv ? glibc) stdenv.glibc
(import ../development/libraries/glibc {
inherit fetchurl stdenv kernelHeaders;