- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./bootstrap --prefix=/usr
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && sed -i '/CMAKE_USE_LIBUV 1/s/1/0/' CMakeLists.txt
+ cd $(DIR_APP) && sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
+ cd $(DIR_APP) && ./bootstrap \
+ --prefix=/usr \
+ --system-libs \
+ --mandir=/share/man \
+ --no-system-jsoncpp \
+ --no-system-librhash \
+ --no-system-libuv \
+ --docdir=/share/doc/cmake