# Exit on error:
set -e

wget http://www.apache.org/dist/apr/apr-1.5.0.tar.bz2
tar xf apr-1.5.0.tar.bz2
cd apr-1.5.0

./configure \
    --prefix=/usr \
    --with-installbuilddir=/usr/share/apr-1

make
make install

cd ..
exit 0
