#!/bin/sh -e

patch -p0 < musl-ipv6.patch

./configure \
    --prefix=/usr \
    --disable-static

make
make DESTDIR="$1" install