tce-load -i git cmake bzip2-dev popt-dev perl5 git clone https://github.com/librsync/librsync cd librsync mkdir build cd build cmake -DCMAKE_C_FLAGS="-mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS="-mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_STATIC=OFF ../ make sudo make install