v4l: Fix building of ir-keytable

This commit is contained in:
Rickard Nilsson 2013-01-20 00:39:13 +01:00
parent ddba22fa2e
commit 4b9df608e2

View file

@ -13,11 +13,9 @@ stdenv.mkDerivation rec {
buildInputs = [ libjpeg which ] ++ stdenv.lib.optional withQt4 qt4;
# The keytable wants to touch /etc files and udev scripts in /lib.
# I skip it.
patchPhase = ''
sed -i s/keytable// utils/Makefile
'';
configureFlags = [
"--with-udevdir=$(out)/lib/udev"
];
installPhase = ''
make PREFIX=$out install