#!/bin/sh

. config/options $1

cd $PKG_BUILD
gio_can_sniff=yes \
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --disable-static \
            --enable-shared \
            --disable-gtk-doc \
            --disable-gtk-doc-html \
            --disable-gtk-doc-pdf \
            --disable-man \
            --with-libpng \
            --with-libjpeg \
            --with-libtiff \
            --with-libjasper \

make

$MAKEINSTALL
