#!/bin/bash

#Some cleanup
rm -rf install src libarchive-3.0.3
mkdir install src

#Untar 
tar -zxvf  libarchive-3.0.3.tar.gz

#Move libarchive into src directory
mv libarchive-3.0.3/* src
rm -rf libarchive-3.0.3

cd src 
./configure --prefix="$ISSM_TIER/externalpackages/bsdtar/install" 
make
make install
