#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --mandir=/usr/share/man

make all
make DESTDIR="$1" install