2009-09-10 14:21:25 +02:00
|
|
|
{ stdenv, fetchurl, libX11, libXi, inputproto
|
|
|
|
, xproto, ncurses, pkgconfig, xorgserver }:
|
2006-01-31 16:18:27 +01:00
|
|
|
|
2009-09-10 14:21:25 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "linuxwacom-0.8.4-1";
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2006-01-31 16:18:27 +01:00
|
|
|
src = fetchurl {
|
2009-09-10 14:21:25 +02:00
|
|
|
url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2";
|
|
|
|
sha256 = "1gfsjm9i1c8d0w0g8v9q3xfrpxsmmsc9qlidr5mkwidr070cphz9";
|
2006-01-31 16:18:27 +01:00
|
|
|
};
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2009-09-10 14:21:25 +02:00
|
|
|
buildInputs = [ libX11 libXi inputproto xproto ncurses pkgconfig xorgserver ];
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2009-08-03 16:15:22 +02:00
|
|
|
preConfigure = ''
|
|
|
|
./configure --enable-wacomdrv --prefix=$out \
|
|
|
|
--with-xlib --with-xorg-sdk --enable-wacdump --enable-xsetwacom \
|
|
|
|
--with-xmoduledir=$out/lib/xorg/modules/input
|
|
|
|
mv configure configure.removed
|
|
|
|
'';
|
|
|
|
|
2009-09-10 14:21:25 +02:00
|
|
|
postInstall =
|
|
|
|
''
|
2009-04-23 15:31:10 +02:00
|
|
|
ensureDir $out/etc/udev/rules.d
|
|
|
|
cp ${./10-wacom.rules} $out/etc/udev/rules.d/10-wacom.rules
|
2009-09-10 14:21:25 +02:00
|
|
|
'';
|
2009-08-03 16:15:22 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
description = "Wacom digitizer driver for X11";
|
|
|
|
homepage = http://linuxwacom.sf.net;
|
|
|
|
};
|
2006-01-31 16:18:27 +01:00
|
|
|
}
|