ostrinato: move to qmake4Hook
This commit is contained in:
parent
3c52b4253c
commit
a1fc9606f2
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit, fetchurl, writeText
|
{ stdenv, fetchgit, fetchurl, writeText
|
||||||
, qt4, protobuf, libpcap
|
, qt4, qmake4Hook, protobuf, libpcap
|
||||||
, wireshark, gzip, diffutils, gawk
|
, wireshark, gzip, diffutils, gawk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,10 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ qt4 protobuf libpcap ];
|
buildInputs = [ qt4 protobuf libpcap ];
|
||||||
|
|
||||||
patches = [ ./drone_ini.patch ];
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=$out"
|
patches = [ ./drone_ini.patch ];
|
||||||
+ stdenv.lib.optionalString stdenv.isDarwin " -spec macx-g++";
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cat > $out/bin/ostinato.ini <<EOF
|
cat > $out/bin/ostinato.ini <<EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user