#!/bin/bash

cd /tmp

wget https://github.com/libexpat/libexpat/releases/download/R_2_2_8/expat-2.2.8.tar.gz

tar -zxvf expat-2.2.8.tar.gz

cd expat-2.2.8

./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 expat-2.2.8

rm -f expat-2.2.8.tar.gz
