#!/bin/sh -e

./configure \
    --prefix=/usr \
    --enable-static \
    --enable-shared

make
make DESTDIR="$1" install

mv "$1/usr/share/info/mpc.info" "$1/usr/share/info/libmpc.info"