#!/bin/sh
mad list >/dev/null 2>&1
if [ $? = 0 ]; then
make clean
echo './configure --without-ssl --prefix=/usr --with-little-endian' | mad sh
echo make | mad sh
cd maemo
make
else
echo "Cannot find 'mad'. Please install QtSDK or QtCreator"
exit 1
fi