Updated keynav; new features; do not forget to copy keynavrc from share/keynav/doc to ~/.keynavrc

svn path=/nixpkgs/trunk/; revision=9391
This commit is contained in:
Michael Raskin 2007-10-01 19:47:53 +00:00
parent 7d9d5b1484
commit d2c1953e8d

View File

@ -3,15 +3,18 @@ libXi, libXext}:
stdenv.mkDerivation {
name = "keynav";
src = fetchurl {
url = http://www.semicomplete.com/projects/keynav/keynav.tar.gz;
sha256 = "1b7xppwbl07vrhdp6vszmnhbpsbmqwbna0aymbq5hv315rmkgh20";
};
src =
fetchurl {
url = http://www.semicomplete.com/files/keynav/keynav-20070903.tar.gz;
sha256 = "037mbgm78jwy0qd0z691pgx4zcpkk5544fx8ajm2mx4y80k2d9kk";
};
buildInputs = [libX11 xextproto libXtst imake libXi libXext];
buildPhase = "xmkmf ; make includes ; touch keynav.man ; make ; ";
installFlags = "BINDIR=$(out)/bin MANDIR=$(out)/man ";
installPhase = "
mkdir -p \$out/bin \$out/share/keynav/doc;
cp keynav \$out/bin; cp keynavrc \$out/share/keynav/doc
";
meta ={
description = "A tool to generate X11 mouse clicks from keyboard.";