FatRat uses the CMake build system, just like KDE 4.

An example compilation procedure:

cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON
make
make install

The prefix can be changed to /usr using -DCMAKE_INSTALL_PREFIX=/usr.

*** FEATURES ***

+-------------------------------+-----------------------+----------------------------------------------+
| Feature name                  | Switch                | Dependencies                                 |
+-------------------------------+-----------------------+----------------------------------------------+
| Translations                  | WITH_NLS              | ---                                          |
| HTTP(S)/FTP(S)/SFTP* support  | WITH_CURL             | libcurl 7.18.2, Linux 2.6.2 or newer         |
| BitTorrent support            | WITH_BITTORRENT       | Rasterbar libtorrent 0.14.5, ASIO, QtWebKit  |
| Jabber remote control         | WITH_JABBER           | gloox 0.9                                    |
| Documentation                 | WITH_DOCUMENTATION    | QtHelp                                       |
| Web interface                 | WITH_WEBINTERFACE     | QtScript, Linux 2.5.66 or newer              |
| All of above                  | WITH_EVERYTHING       |                                              |
+-------------------------------+-----------------------+----------------------------------------------+

