#!/bin/sh

. config/options $1

setup_toolchain host

cd $PKG_BUILD

./configure --host=$HOST_NAME \
            --build=$HOST_NAME \
            --prefix=$ROOT/$TOOLCHAIN \
            --disable-nls

make install

mkdir -p  $SYSROOT_PREFIX/usr/share/aclocal
  cp intltool.m4 $SYSROOT_PREFIX/usr/share/aclocal