UIM_VER=1.9.6
tce-load -wli compiletc.tcz intltool.tcz libXext-dev.tcz
tar -xjf uim-$UIM_VER.tar.bz2
cd uim-$UIM_VER/
export CFLAGS="-march=i486 -mtune=i686 -Os"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-Wl,-O1"
./configure --prefix=/usr/local --with-skk --with-x --disable-emacs
make
sudo make DESTDIR=/tmp/package install-strip
