1 { lib, stdenv, fetchurl, pciutils }:
8 sed -i -e 's+/usr++' Makefile
9 sed -i -e 's+^\\(.*putenv(\"PATH=\\).*$+\\1${pciutils}/sbin\");+' i810switch.c
11 make install DESTDIR=\${out}
15 url = "http://www16.plala.or.jp/mano-a-mano/i810switch/i810switch-0.6.5.tar.gz";
16 sha256 = "d714840e3b14e1fa9c432c4be0044b7c008d904dece0d611554655b979cad4c3";
20 description = "Utility for switching between the LCD and external VGA display on Intel graphics cards";
21 homepage = "http://www16.plala.or.jp/mano-a-mano/i810switch.html";
23 license = licenses.gpl2Only;
24 platforms = platforms.linux;