sudo apt-get install libfftw3-dev liblapack-dev libatlas-headers libatlas-base-dev
svn co https://astromatic.iap.fr/pubsvn/software/scamp/trunk/ scamp
cd scamp
make
sudo make install
You will need CDS aclient (to retrieve catalogs):
http://cdsarc.u-strasbg.fr/ftp/pub/sw/cdsclient.tar.gz
tar xzf cdsclient.tar.gz
cd cdsclient-*
./configure
make
sudo make install