#!/bin/bash
sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev
mkdir tmp-wac
cd tmp-wac
wget http://cambiadeso.co.cc/archivos/linuxwacom-0.8.6-2.tar.bz2
tar -xf linuxwacom-0.8.6-2.tar.bz2
cd linuxwacom-0.8.6-2
./configure --enable-wacom
cd src/2.6.30
make
sudo cp wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/
sudo rmmod wacom
sudo modprobe wacom
cd ..
cd ..
cd ..
cd ..
rm -R tmp-wac

