2014-08-30 22:32:37 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, bash, help2man }:
|
2012-01-09 10:25:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-30 22:32:37 +00:00
|
|
|
name = "lirc-0.9.1";
|
2012-01-09 10:25:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lirc/${name}.tar.bz2";
|
2014-08-30 22:32:37 +00:00
|
|
|
sha256 = "0vakq9x10hyj9k7iv35sm5f4dhxvk0miwxvv6kn0bhwkr2mnapj6";
|
2012-01-09 10:25:49 +00:00
|
|
|
};
|
|
|
|
|
2014-08-30 22:32:37 +00:00
|
|
|
preBuild = "patchShebangs .";
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib help2man ];
|
2012-01-09 10:25:49 +00:00
|
|
|
|
2013-01-21 18:06:22 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-driver=devinput"
|
|
|
|
"--sysconfdir=$(out)/etc"
|
|
|
|
"--enable-sandboxed"
|
|
|
|
];
|
2014-08-30 22:32:37 +00: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 00:17:19 +00:00
|
|
|
platforms = platforms.linux;
|
2014-08-30 22:32:37 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
2012-01-09 10:25:49 +00:00
|
|
|
}
|