#!/bin/sh

. config/options $1

cd $PKG_BUILD
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --disable-static \
            --enable-shared \
            --disable-sqlite \
            --enable-alsa \
            --disable-external-libs \

make -C src
cp sndfile.pc $SYSROOT_PREFIX/usr/lib/pkgconfig

$MAKEINSTALL -C src
