openbrf: move to qmake4Hook
This commit is contained in:
parent
e9e112817d
commit
4e1d2d9afb
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, qt4, vcg, glew }:
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, vcg, glew }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "openbrf-2016-01-09";
|
name = "openbrf-2016-01-09";
|
||||||
@ -10,18 +10,16 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0laikpz0ljz7l5fgapwj09ygizmvj1iywnpfgfd0i14j46s134xb";
|
sha256 = "0laikpz0ljz7l5fgapwj09ygizmvj1iywnpfgfd0i14j46s134xb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 vcg glew ];
|
buildInputs = [ qt4 qmake4Hook vcg glew ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
qmakeFlags = [ "openBrf.pro" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' openBrf.pro
|
sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' openBrf.pro
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
qmake PREFIX=$out openBrf.pro
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 openBrf $out/bin/openBrf
|
install -Dm755 openBrf $out/bin/openBrf
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user