$ tce-load -wi compiletc cmake alsa-dev glib2-dev $ cd apulse-0.1.13/ # for 64 bit: $ export CFLAGS="-mtune=generic -Os -pipe"; export CXXFLAGS="-mtune=generic -Os -pipe"; export LDFLAGS="-Wl,-O1" # for 32 bit: $ export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"; export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"; export LDFLAGS="-Wl,-O1" $ mkdir build && cd build $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release .. $ make $ make DESTDIR=/opt/destapulse install