#!/bin/bash

cd /tmp

wget https://github.com/cyrusimap/cyrus-sasl/archive/master.zip

unzip master.zip

cd cyrus-sasl-master

#yum install automake autoconf libtool

./autogen.sh
PKG_CONFIG_PATH=/opt/thirdlane/perl_lib/local/usr/lib/pkgconfig ./configure --prefix=/opt/thirdlane/perl_lib/local/usr
make
make install

cd /tmp

rm -rf cyrus-sasl-master

rm -f master.zip
