#!/bin/sh -e
sed 's/pthread-stubs //' configure > _
mv -f _ configure
chmod +x configure
./configure \
--prefix=/usr
make
make DESTDIR="$1" install