I wrote a bash script that will check to see if a newer version of cgminer is available. If there is a newer version the script will download the pre-built version and extract it.
Here is the script if anybody is interrested:
#!/bin/bash
server=http://ck.kolivas.org
path=/apps/cgminer/
#; Get the file name for the latest version
cgminer=`wget -q -O- $server$path | egrep -o cgminer-[0-9\.]+-x86_64-built.tar.bz2 | sort -V | tail -1`
#; Get the folder name that the downloaded file should be extracted to
folder="${cgminer%.tar.bz2}"
version="${folder%-x86_64-built}"
version="cgminer ${version##*-}"
echo "Latest version is $version"
#; Check to see if this version is already installed.
if [ ! -d $folder ]
then
echo "Downloading $version..."
#; Download the file
wget -q $server$path$cgminer
echo "Installing $version..."
#; Extract cgminer
tar -xjf $cgminer
#; Create a symbolic link to the new folder so we can keep older versions and the latest version can always be found in "cgminer"
if [ -L cgminer ]
then
rm cgminer
fi
ln -s $folder cgminer
#; Remove the downloaded file
rm $cgminer
else
echo "Already have $version"
fi