#!/bin/sh

. config/options $1

cd $PKG_BUILD
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \

make
$MAKEINSTALL

mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
  cp xtrans.pc $SYSROOT_PREFIX/usr/lib/pkgconfig