This patch adds configuration files for cmake build system. It provides great functionality. For example you can generate makefiles or even project files for some IDEs, it also provides configuration and packaging capabilities.
If you are not familiar with cmake, here is an example of building and installing nethogs:
cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ ..
make -j2 || exit 1
make install DESTDIR=$PKG || exit 1