anchor.diff:  { stdenv, fetchurl, mesa_glu, x11, libXmu, libXi }:
  +
  +with stdenv.lib;
   
   stdenv.mkDerivation rec {
     name = "glew-1.10.0";
  
positive.code:     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/;
  
negative.code: 
    patchPhase = ''
      sed -i 's|lib64|lib|' config/Makefile.linux
      ${optionalString (stdenv ? cross) ''
      sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
      ''}
    '';
  
  buildPhase = "make all";
  