2014-08-31 00:32:37 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, bash, help2man }:
|
2012-01-09 11:25:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-31 00:32:37 +02:00
|
|
|
name = "lirc-0.9.1";
|
2012-01-09 11:25:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lirc/${name}.tar.bz2";
|
2014-08-31 00:32:37 +02:00
|
|
|
sha256 = "0vakq9x10hyj9k7iv35sm5f4dhxvk0miwxvv6kn0bhwkr2mnapj6";
|
2012-01-09 11:25:49 +01:00
|
|
|
};
|
|
|
|
|
2014-08-31 00:32:37 +02:00
|
|
|
preBuild = "patchShebangs .";
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib help2man ];
|
2012-01-09 11:25:49 +01:00
|
|
|
|
2013-01-21 19:06:22 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-driver=devinput"
|
|
|
|
"--sysconfdir=$(out)/etc"
|
|
|
|
"--enable-sandboxed"
|
|
|
|
];
|
2014-08-31 00:32:37 +02:00
|
|
|
|
|
|
|
makeFlags = [ "m4dir=$(out)/m4" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Allows to receive and send infrared signals";
|
|
|
|
homepage = http://www.lirc.org/;
|
|
|
|
license = licenses.gpl2;
|
2014-08-31 02:17:19 +02:00
|
|
|
platforms = platforms.linux;
|
2014-08-31 00:32:37 +02:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
2012-01-09 11:25:49 +01:00
|
|
|
}
|