# Exit on error:
set -e

wget http://downloads.sourceforge.net/flex/flex-2.5.35.tar.bz2
tar xf flex-2.5.35.tar.bz2
cd flex-2.5.35

./configure \
    --prefix=/usr

make
make install

cd ..
exit 0
