#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --program-prefix=g

make
make DESTDIR="$1" install