#! /bin/bash
#

#   version is hidden in the filename
version=7.1
wget=wgetc

for arg in $*; do
  export $arg
done
 
cd $NEMO/local
$wget  ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2

tar jxf wcslib.tar.bz2
#cd wcslib-*
cd wcslib-$version
./configure --prefix=$NEMO/opt
make -j
make install

echo Installed version=$version
