#!/bin/sh -e
CFLAGS_FOR_BUILD=-fPIC \
./configure \
--prefix=/usr \
--enable-static
make
make DESTDIR="$1" install
# Remove docs.
rm -rf "$1/usr/share/doc"