# Note: depends on libICE
wget -c http://www.x.org/releases/individual/lib/libSM-1.2.2.tar.bz2
tar -xjf libSM-1.2.2.tar.bz2
cd libSM-1.2.2
mkdir -p build
cd build
../configure --prefix="/usr"
make # Doesn't mind -j#
make install