#!/bin/bash # * * * #This is a small script for installing Wammu on Ubuntu 6.06 Dapper Drake #from http://www.gammu.org/wiki/index.php?title=Wammu:Installation_Script_for_Ubuntu # * * * echo "this script installs Gammu and Wammu"; echo "Installing required packages"; yes | apt-get install build-essential checkinstall autoconf libbluetooth1-dev yes | apt-get install python2.4-dev python-wxgtk2.6 echo "downloading Gammu sourcecode"; wget http://www.mwiacek.com/zips/gsm/gammu/gammu.tar.gz echo "unpacking.."; tar -xzf gammu.tar.gz cd gammu-* echo "compiling.."; ./configure --prefix=/usr make share echo "installing"; make installshared cd .. echo "downloading python-gammu"; wget http://dl.cihar.com/python-gammu/latest/python-gammu-0.14.tar.gz echo "unpacking.."; tar -xzf python-gammu-0.14.tar.gz cd python-gammu* echo "building"; python setup.py build echo "installing"; python setup.py install cd .. echo "downloading Wammu"; wget http://dl.cihar.com/wammu/latest/wammu-0.15.tar.bz2 tar -xjf wammu-0.15.tar.bz2 cd wammu-* echo "building"; python setup.py build echo "installing"; python setup.py install echo "system clean up"; apt-get update yes | aptitude remove python2.4-dev libbluetooth1-dev autoconf cd .. rm -r gammu-1.07.0 rm -r python-gammu-0.14 rm -r wammu-0.15 rm gammu.tar.gz rm python-gammu-0.14.tar.gz rm wammu-0.15.tar.bz2 apt-get update echo "done"; echo "start Wammu via 'Applications -> Accessoirs' menu entry"; #