unetbootin: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:52:24 +03:00
parent a3a40c027c
commit cef0e565e3

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, qt4, utillinux, coreutils, which
{ stdenv, fetchurl, makeWrapper, qt4, utillinux, coreutils, which, qmake4Hook
, p7zip, mtools, syslinux }:
stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
buildInputs = [ makeWrapper qt4 ];
buildInputs = [ makeWrapper qt4 qmake4Hook ];
# Lots of nice hard-coded paths...
postUnpack = ''
@ -30,11 +30,9 @@ stdenv.mkDerivation rec {
--replace /usr/bin $out/bin
'';
buildPhase = ''
preConfigure = ''
lupdate unetbootin.pro
lrelease unetbootin.pro
qmake
make
'';
installPhase = ''