#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --sysconfdir=/etc

make
make DESTDIR="$1" install