#!/bin/sh

apt-get install zlib1g-dev
apt-get install libasound2-dev

target='armel'
export INSTALL_ROOT=1

mkdir -p /usr/lib/ufa
mkdir -p /usr/include/ufa

cd lib
./build-tree.sh clean $target
./build-tree.sh all $target
./build-tree.sh install $target
cd ..


cd app
./build.sh
cd ..

ret_value=$?
exit $ret_value

