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