Compile xserver-xorg-video-ati-6.6.3 under hardy

apt-get install -y dpkg-dev autoconf libtool fakeroot
mv /etc/apt/sources.list /etc/apt/sources.list.org
 
cat <<EOF>> /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ feisty main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty main universe multiverse restricted
EOF
 
apt-get update
apt-get source xserver-xorg-video-ati
 
mv /etc/apt/sources.list.org /etc/apt/sources.list
apt-get update
 
sudo apt-get -y build-dep xserver-xorg-video-ati
 
cd xserver-xorg-video-ati-6.6.3
fakeroot ./debian/rules prepare
fakeroot ./debian/rules patch
fakeroot ./debian/rules autoreconf
fakeroot ./debian/rules clean
fakeroot ./debian/rules binary