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