Ok, from memory, this is how it goes. I'm pretty sure it's dependent on
using make-kpkg for your kernel though.

# apt-get install nvidia-glx-src nvidia-kernel-src
# cd /usr/src
# wget \
http://download.nvidia.com/XFree86_40/1.0-2880/NVIDIA_GLX-1.0-2880.tar.gz \
http://download.nvidia.com/XFree86_40/1.0-2880/NVIDIA_kernel-1.0-2880.tar.gz
# tar xvfz nvidia-kernel-src.tar.gz
# cd /usr/src/kernel-source-`uname -r`
# make-kpkg modules_image
# cd /usr/src
# cd nvidia-glx-version/
# debain rules/binary
# cd /usr/src
# dpkg -i nvidia-*.deb

Andrew S. Zbikowski | http://www.ringworld.org
"The irony is that Bill Gates claims to be making
a stable operating system and Linus Torvalds claims
to be trying to take over the world."