Tools for maintaining the MiKTeX package repository.
You need:
Create a build directory and run cmake
as follows:
export PATH=/path/to/miktex-bin-dir:$PATH
cmake \
-DMIKTEX_CTAN_MIRROR=/path/to/ctan-mirror \
-DMIKTEX_TEX_CATALOGUE=/path/to/tex-catalogue/entries \
-DMIKTEX_PACKAGE_STAGING_ROOT=/path/to/miktex-package-staging-root \
../source
Replace ../source
with the path to this directory.