mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
glew: install glewinfo and visualinfo
This commit is contained in:
parent
23d3c30f55
commit
0d76e1cb94
@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "11xpmsw7m5qn7y8fa2ihhqcislz1bdd83mp99didd5ac84756dlv";
|
sha256 = "11xpmsw7m5qn7y8fa2ihhqcislz1bdd83mp99didd5ac84756dlv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
buildInputs = [ x11 libXmu libXi ];
|
buildInputs = [ x11 libXmu libXi ];
|
||||||
propagatedBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
propagatedBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
||||||
|
|
||||||
@ -15,8 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildPhase = "make all";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
GLEW_DEST=$out make install
|
GLEW_DEST=$out make install.all
|
||||||
mkdir -pv $out/share/doc/glew
|
mkdir -pv $out/share/doc/glew
|
||||||
mkdir -p $out/lib/pkgconfig
|
mkdir -p $out/lib/pkgconfig
|
||||||
cp glew*.pc $out/lib/pkgconfig
|
cp glew*.pc $out/lib/pkgconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user