#!/bin/sh

cd IlmBase
./bootstrap
./configure --enable-shared=no --prefix=$1
make
make install

cd ../OpenEXR
./bootstrap
./configure --prefix=$1 \
     --with-ilmbase-prefix=$1
make
make install
