#!/bin/sh -e
rm -f PATCHES
patch -p1 < cumulative.patch
./configure \
--prefix=/usr \
--enable-shared \
--enable-thread-safe
make
make DESTDIR="$1" install