#!/bin/sh -e
export CFLAGS="$CFLAGS -fPIC"
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--shared
make
make DESTDIR="$1" install